Fernando Fernández wrote:
Is it possible to write a text file using JavaScript?
Yes, when there are host objects available or creatable to do so. You
can certainly do it for instance with JavaScript in WSH or ASP or HTA.
See
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/FSOoriFileSystemObject.asp>
Inside the browser such host objects for file system access are usually
not provided or only provided under certain restrictions (e.g. when the
HTML document with the script is also being loaded from the local file
system).
--
Martin Honnen
http://JavaScript.FAQTs.com/