Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
save form result with javascript?
Name: Br1an Date: October 14, 2002 at 07:01:26 Pacific OS: XP CPU/Ram: 256
Comment:
hi,
anyone knows how to save a form result to a text file using javascript ? For example i have this form:
Like it Dont Like it You have complete the form
then, how can I save the form result to a text file (in the host machine)..say, in the machine that have the html file. Thanks
Name: SN Date: October 15, 2002 at 12:28:44 Pacific
Reply:
The only way I can imagine doing something like that would be with a javascript cookie. I doubt that browsers (thankfully) allow javascripts to write anything else to the client's hard drive without them asking for it.
If it were me and I needed it enough to spend 5 or 6 hours on it, I would do it using a java applet. Good luck, SN
0
Response Number 2
Name: muska Date: October 15, 2002 at 20:48:48 Pacific
Reply:
If you want to save the result to a text file on the same machine that serves the HTML file, you would need to go with a server-side language like Perl or PHP.
Summary: I was wondering if someone would be able to help me out with this . I fill my PHP form(1) and click Submit, pass all variables to the second php script(2). This script(2) forms PreView page, where i s...
Summary: I am having some trouble submitting a form with javascript. This is what I am doing: the problem is it is not waiting 5 seconds before it submits. It seems to just submit as soon as the page loads....
Summary: hello, i was wondering if there was a way that you could take something someone submits in a form and save it to some kind of file so that it would be like logging what they submit. also, if there was...