📜  提交javascript代码示例后保留表单值

📅  最后修改于: 2022-03-11 15:03:56.977000             🧑  作者: Mango

代码示例1
When you submit a form, the entire page is replaced with the response from the server. If you want to stay on the page (rather than having it replaced by the response), you might look at using jQuery.post or jQuery.ajax to send the form data to the server rather than actually submitting the form.