I\'m using jQuery File Upload library (http://github.com/blueimp/jQuery-File-Upload), and I\'ve been stuck figuring out how to use the library satisfying the following condi
The first POST request triggered by your script gets canceled, because the button submits the form (causing the second POST request).
Use type="button" on the button if you don’t want it to have submit functionality.
type="button"
button