Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to save the data in a text file and retrieve it using Jscript Re: How to save the data in a text file and retrieve it using Jscript

#115460
__
Participant

javascript cannot do this. In addition to lack of implementation, there are all kinds of security reasons for browsers to actively *prevent* javascript from accessing the user’s filesystem.

Depending on your goal, you might look into using one of the [HTML5 Storage APIs](http://www.html5rocks.com/en/tutorials/offline/storage/).