Reputation: 5897
I'm trying to create a simple function that will generate a file from Javascript and then ask the user to save it on their computer somewhere.
First off is that possible using just JavaScript?
Second if so do you have a tutorial page that explains how
Second if not, do you know of the best way to go around this?
Upvotes: 3
Views: 3849
Reputation: 5897
Javascript: Create and save file The file known as FileSaver.js works fine :)
Cheers Robert Harvey
Upvotes: 1