JQuery how to resubmit form after ajax call success
- by Steven Rosato
I am using JQuery to perform form submission through an ajax request. I use
form.submit(function() {
if( success ) {
return true;
}
validate(); //proceeds to an ajax call
return false;
}
On request success I want to either proceed with form submission or user callback. Therefore, if the user callback is undefined, I…