How to take HTML form data and write to XML using JQuery?

后端 未结 3 457
不思量自难忘°
不思量自难忘° 2021-01-16 18:38

I have a form that looks like this:

3条回答
  •  渐次进展
    2021-01-16 19:05

    jQuery and Javascript on the client-side cannot persist to the server side. It has no access to write to code. You will have to gain access to a server-side language, or make use of some cloud-based services (you could, for example, persist to Amazon 3S, or a MongoDB or something of that nature, through Javascript API calls, on a cloud service).

    While you could use Javascript/jQuery to construct an XML object in the client, you would then have to submit that to some server-side script to save it to a file.

    Sorry to be the bearer of bad news, but you will need to get into something a bit more full-featured, if you want to be able to get this done.

提交回复
热议问题