HTML form using JavaScript - save in CSV format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #16
    No, you didn't answer all my questions.

    What is the error code and message? I asked this question twice.

    What line of code caused the error? I also asked this question twice.

    Comment

    • bheema1990
      New Member
      • Nov 2012
      • 10

      #17
      m using notepad...so i dun see any specific error msg than error on page...The line that caused the error msg is the function loadLinkButton( ) on the line 345...

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #18
        The line that caused the error msg is the function loadLinkButton( ) on the line 345...
        see post #2

        Comment

        • Rabbit
          Recognized Expert MVP
          • Jan 2007
          • 12517

          #19
          If you're not seeing any error messages, you need to use some debugging tools.

          Comment

          • bheema1990
            New Member
            • Nov 2012
            • 10

            #20
            Dormilich..I have tried with a space between new and ActiveXObject.. Still the same...it does not save the file into given path

            Comment

            • Dormilich
              Recognized Expert Expert
              • Aug 2008
              • 8694

              #21
              well, without a space I can guarantee that it never will.

              Comment

              • jmrker
                New Member
                • Dec 2012
                • 17

                #22
                Strickly a guess, but something to try.
                In your 'makeFile' function try changing this
                Code:
                var fileLoc = "E:\\sample.csv";
                Assumes sample.csv is in the root directory of the 'E' device.
                Using the '\' character as is just forces the 's' to be read just as a 's' only.
                Adding the escape character, '\', forces the second '\' character to be read as true character instead of an 'escaped' character.

                Comment

                Working...