Si fa un form normale, comprensivo di action e tasto submit.
Nella libreria JS:
var options_form = {
beforeSubmit: beforeSubmit, // pre-submit callback
success: afterSuccess, // post-submit callback
uploadProgress: OnProgress, //upload progress callback
resetForm: true // reset the form after successful submit
};
//sul submit invocare
...
read more