Cause of the error that form. submit () cannot be submitted: form. submit form
Source: http://www.ido321.com/948.html
Directly Add the following code:
1:
2: Member registration
3:
4:
5:
6: enter the
PHP HTML No refresh submission form, phphtml submit form
Typically, we use AJAX to submit a form without a flush. A while ago, I followed the boss. Another way to submit a form without flushing is to use the IFRAME framework. Now let's sort it out
We should control the Submit button when the form is submitted, and cannot click repeatedly to submit the data. Otherwise there will be redundant duplication of data in the system, causing the system to appear data garbage. jquery is simple enough
No need to submit a new HTML form, html submit a form
We usually use ajax to implement the process of refreshing new forms. Some time ago, I learned from the boss that another method of refreshing new forms is implemented using the iframe framework.
Pre-used JS form to prevent duplicate submission method
The code is as follows
Copy Code
The following three methods are called separately
so if I make a form directly, and then submit it to/test, the above
ObjectiveUsing AJAX to request data, many people will, for example, say:$.post (Path,{data:data},function(data) { ...},"JSON");Or is this Ajax$.ajax ({ URL:"${pagecontext.request.contextpath}/public/testupload", Type:
ObjectiveUsing AJAX to request data, many people will, for example, say:$.post (Path,{data:data},function(data) { ...},"JSON");Or is this Ajax$.ajax ({ URL:"${pagecontext.request.contextpath}/public/testupload", Type:
/**WS Platform Rental Construction (Enterprise q:185 198 884)
BackgroundRecently in the work, you need to implement the web-side image upload to the FTP server function. Uploading a file is to use form form to submit data to the background to
use Ajax to submit form forms, including Ajax file uploadsHttp://www.cnblogs.com/zhuxiaojie/p/4783939.html
Preface
Using AJAX to request data, many people will, for example, say:
$.post (path,{data:data},function (data) {...
}, "json");
Or is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.