How to submit a form that needs to receive data and save it to a certain path
2019-04-21 21:32:14
0
1
1375

How to implement this submission form, the saving path is fine, as long as the data can be saved, it can also be saved in a database, and you don’t need to design it into the backend, just use the front end to implement this function. This is a question worth thinking about! If anyone knows how to write it, please add me at 2547196547 and tell me. I really don’t know! Thank you!

reply all(1)
瓢老师

Try the FileSaver.js plug-in,

var downloadTextFile = function(content) {
  var file = new File([content], "demo.txt", { type: "text/plain;charset=utf-8" });
  saveAs(file); 
}

It can meet your needs

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!