Krothapalli Naveen Dath

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromKrothapalli Naveen Dath
ToMe
SubjectHow to write to a text file using javascript
Date19 August 2005 08:49
hai,
 
i want to know how we can write to a file using javascript.
plz relpy as soon as possible.
 
----------
Thanks and regards,
Naveen
FromMe
ToKrothapalli Naveen Dath
SubjectRe: How to write to a text file using javascript
Date19 August 2005 10:21
Naveen,

> i want to know how we can write to a file using javascript.
> plz relpy as soon as possible.

For security reasons, JavaScript cannot write to files.
http://www.howtocreate.co.uk/tutorials/javascript/security

If you want to store data on the client's computer, you may store cookies.
http://www.howtocreate.co.uk/tutorials/javascript/cookies

If you want to write to a text file, you should create the text file on the
server, and have a server side process edit it.

(Note that it may be possible to use plugins to store text files, but I
refuse to work with plugins, so I do not have any answers here.)


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.