Jquery.form Common methods I don't say much, mainly talking about the problems encountered in the use of the process
1. Prompt "XXXX" is not define or "xxx" is not a function
This checks their own code, where careless write the wrong word, the path is not written correctly, the wrong file is quoted, etc.
2. After using the Ajaxform function to write a good method, click the button no response
This problem requires the button type= "button" to be set to type= "submit" and need to put the button inside the <form></form> to proceed to submit.
Or first call the form's Submit method, execute in the method, in short, the form commits the action to touch the method. While
In form form, add enctype= "Multipart/form-data" to this property
3. The response can also be submitted to the background, but the data received is empty
This problem is because you have not put your type= "file" control to set the Name property, preferably the same as the ID setting, need to get the value of the <form> control to set the Name property
Jquery.form asynchronous upload files Frequently asked questions resolved