[Solved] HTML Forms Data Write To Local File [closed]


Scripting.FileSystemObject is a non-standard API that most browsers don’t provide access to under any circumstances. (Internet Explorer might in HTA applications).

You’re also trying to use Visual Basic syntax in a script marked as JavaScript. Again, only IE supported client-side VB Script, and you need to use the appropriate language flag on the <script> element to get it to work.

Generally, the only way to write to a file from browser-side JavaScript is to generate a data: scheme URL and navigate to it allowing the browser’s default download handling routines to save it (which means you can’t control where the data is written to).

8

solved HTML Forms Data Write To Local File [closed]