Save File From Local Data in Javascript

Posted by Travis on Stack Overflow See other posts from Stack Overflow or by Travis
Published on 2010-05-04T01:22:19Z Indexed on 2010/05/04 1:28 UTC
Read the original article Hit count: 251

Filed under:

Heres the scenario:

  1. User comes to my website and opens a webpage with some javascript functionality.
  2. User edits the data through javascript
  3. User clicks on a save button to save the data, thing is, it seems like they shouldn't need to download this data because its already in javascript on the local machine.

Is it possible to save data from javascript (executing from a foreign webpage) without downloading a file from the server?

Any help would be much appreciated!

© Stack Overflow or respective owner

Related posts about JavaScript