PDA

View Full Version : writing to a different page using JavaScript


allanhendon
02-10-2003, 02:34 PM
I want to be able to write to a predefined page using JavaScript. I know this can be done using Frontpage, but how do you do it if you have a free web site which doesnt provide any facilities, no PHP, no ASP, nothing except JavaScript. I want to be able to pick up information from a form, and write it to for instance :- 'information/info.txt', can anyone help please?

Danne
02-10-2003, 04:21 PM
You can't do it since JavaScript runs on the client, and that textfile would have to be stored on the server. If you wan't to store it on the client, you can use cookies, of course...

allanhendon
02-13-2003, 02:13 PM
OK thanks, that was what I was afraid of, guess I will have to try some other way round the problem

Allan