+ 1

Can we program Html button using JavaScript such that user can save data in the computer?

When the user type something in <textarea>Some text</textarea> the user can save the text written by the user as a file in his/her computer. https://code.sololearn.com/WYALQbhEex9Y/?ref=app

1st Jan 2018, 12:15 PM
Atif Noor Khan
Atif Noor Khan - avatar
2 Answers
+ 2
yes by either using cookies or back-end servers
1st Jan 2018, 12:39 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
the user or the server can save the file?
1st Jan 2018, 12:38 PM
᠌᠌Code X
᠌᠌Code X - avatar