Can I save input from form to .txt in HTML, using JAVASCRIPT/jQuery, and then use it?

后端 未结 8 1541
情深已故
情深已故 2020-12-01 09:50

Is it possible to save textinput (locally) from a form to a textfile, and then open that document to use it later on?

Just using HTML, javascript and jQuery. No data

8条回答
  •  情歌与酒
    2020-12-01 10:30

    You can use localStorage to save the data for later use, but you can not save to a file using JavaScript (in the browser).

    To be comprehensive: You can not store something into a file using JavaScript in the Browser, but using HTML5, you can read files.

提交回复
热议问题