![]() |
Chat on IRC |
JavaScript help
Posted by jay_dee [send private reply] at July 22, 2002, 08:34:37 PM
I don't know much java script but a friend asked me to make a web page for him and one of the things that he wants in a place where someone can enter their first and last name and e-mail address then save what they entered to a file. I know how to make the text boxes and whatnot but what I need to know is how to save it to a file. If anyone knows please post it. thanks
Posted by jay_dee [send private reply] at July 22, 2002, 08:46:29 PM
or in VBScript or any other way to do
Posted by Neumann [send private reply] at July 22, 2002, 09:06:03 PM
You can't save to a file using simply JavaScript or VBScript. Would you want a webpage to be able to access your disk? Sure you don't. In fact, this can be done but you would need to modify the security settings or Internet Explorer (or Netscape too I expect).
For a webpage, you need to use CGI, ASP and/or any server-side tech. you can use on a webserver.
Posted by CViper [send private reply] at July 23, 2002, 03:33:03 AM
You could save it in a cookie...
Posted by vladimir_l [send private reply] at July 23, 2002, 03:48:20 AM
Or you could use server-side javascript if you really wanted. Not reccomended mind you , try using perl and cgi - its simple , even an idiot like me learn the basics of peral in 2 days or so.
Register as a new user | ||||||||