logo
Search
showing results for - "save things javascript"
Filippo
20 Apr 2016
1let a = document.createElement('a');
2a.href = "data:application/octet-stream,"+encodeURIComponent('"My DATA"');
3a.download = 'myFile.json';
4a.click(); // we not add 'a' to DOM so no need to remove
source
similar questions
how to save file in folder using javascriptjs save filessave object in localstorage shows 5bobject object 5dhow to write notes in jssave json object in localstorage javascripthow to write in jshow to store variable in javascriptjavascript write to file and downloadsave jshinthow to save in p5 jshow to save js object to clipboardjavascript things to remembernode js store values in filejavascript write to filesave object as file dev toolsjavascript save data to local storagesave array filestore data in browser javascriptsave item in array javascriptnode js store add values in file
queries leading to this page
save things javascriptsave username and password in local storagesave things javascript
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue