User Profile

Collapse

Profile Sidebar

Collapse
bheema1990
bheema1990
Last Activity: Jan 14 '13, 06:46 AM
Joined: Nov 30 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dormilich..I have tried with a space between new and ActiveXObject.. Still the same...it does not save the file into given path
    See more | Go to post

    Leave a comment:


  • 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...
    See more | Go to post

    Leave a comment:


  • ALright...It giving errors when i click on the save button,it does not save in the path that i have specified...i can key-in inputs..no prob with that...But it is not doing as i expected...it just states error on the page...The save function is not working properly...The correct output should be,when i click on the save button after i key-in all the details inside the form,it should save to the specified path in the local drive...Did i answered all...
    See more | Go to post

    Leave a comment:


  • The thing is,i want to save this whole input form in local drive....n i dun knw how to do that...I dont knw how to use activeXobject method...I want to save this file in csv format in the particular given path...When i open back i want to view al; the inputs that have been key in...so,can u help me with that...
    See more | Go to post

    Leave a comment:


  • It works fine but...if u take a look at the function makeFile()...i used activeXobject as u stated in ur previous answer but still i am facing problem when i click the save button..it states there error on the page...i hope to save this file in local drive...Sry for posting the whole code...try copy paste and run it...u can see my problem clearly...
    See more | Go to post

    Leave a comment:


  • Sorry for the long post...This is my full code...Can u help me with this...

    Code:
    <html>
    <head>
    <title>E-LogBook</title>
    
    <center>
    <color><font size="35">KM1 FCPGA TEST AREA OUTPUT TRACKING FORMAT</font></color>
    </center>
    <br/>
    <br/>
    <br/>
    
    <SCRIPT TYPE="text/javascript">
    ...
    See more | Go to post

    Leave a comment:


  • Thanks Rabbit...i've already tried and its not working...i think something wrong with my coding...can u help me with the code..i'l just post it here...

    Code:
    function makeFile(){
    var fso = newActiveXObject("Scripting.FileSystemObject");
    var fileLoc = "E:\sample.csv";
    var file = fso.OpenTextFile(fileLoc, true);
    file.write(escape(document.getElementById("myOutput").innerHTML));
    file.Close();
    ...
    See more | Go to post

    Leave a comment:


  • How can i make it display the whole content inisde the div tag that i have used in form...?
    See more | Go to post

    Leave a comment:


  • no its not goin to be a website...It will be used internally,so security issue wont be a problem...How can i make it read all the input to the form and when i click the save button,it automatically save to a share drive in csv format...can u guys help me with this?
    See more | Go to post

    Leave a comment:


  • HTML form using JavaScript - save in CSV format

    I want to save the form using this makeFile() function.I want it to save the whole form in csv format..How can i make it read the whole file...TQ...n Am i doing it correctly?Pleas e help me solve this problem...


    Code:
    function makeFile(){
    var fso = newActiveXObject("Scripting.FileSystemObject");
    var fileLoc = "E:\sample.csv";
    var file = fso.CreateTextFile(fileLoc, true);
    file.writeline();
    ...
    See more | Go to post
    Last edited by Dormilich; Nov 30 '12, 07:02 AM. Reason: Use code tags <code/> around your code
No activity results to display
Show More
Working...