treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] How to save the data in a text file and retrieve it using Jscript

  • well it's kind of hifi but i want to actually save data inserted by the user in a text / word / excel file and retrieve it wenever i want an dislay the contents

  • 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.