how can I write and read files in JavaScript?
Is it possible?
how can I write and read files in JavaScript?
Is it possible?
JavaScript running in a web page displayed in a browser cannot access the client file system.
according to this article is possible, but i never tried it before. http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm
It's impossible without using a JavaScript extension, or something like ActiveX.
There are APIs developing to make this possible. For instance, Firefox 3.6 has a File API (see active demo), and the W3C has a working draft.