Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q836 How can I save the contents of a form to a local text file by pressing the Submit button?

You are here: irt.org | FAQ | JavaScript | File | Q836 [ previous next ]

You can't write to files on the client using Client Side JavaScript. This would be a serious breach of JavaScript security if this were possible.

Bradley Zohn writes:

I believe the answer is misleading. You can write to a local file using PrivilegeManager and the UniversalFileWrite to write local files. While technically it requires calling java.io.OutputStreamWriter, it certainly can be done using javascript.

Feedback on 'Q836 How can I save the contents of a form to a local text file by pressing the Submit button?'

©2018 Martin Webb