How can i save information width JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i save information width JavaScript?

31st Jan 2019, 4:58 PM
Lisandro Musca
Lisandro Musca - avatar
2 Answers
+ 1
To read and write files, you need a server-side language such as Node.js or PHP. This prevents websites from messing with users' files, and prevents users from messing with the server. Otherwise, you could use JavaScript to generate a file or some text, then save it manually using your browser, or just copy and paste.
31st Jan 2019, 11:30 PM
James
James - avatar
+ 1
Thank you!😀😀😀
1st Feb 2019, 12:49 AM
Lisandro Musca
Lisandro Musca - avatar