I have a form that, when submitted, I need to do some additional processing before it should submit the form. I can prevent default form submission behavior, then do my addi
I would just do:
$('#submiteButtonID').click(function(e){ e.preventDefault(); //do your stuff. $('#formId').submit(); });
Call preventDefault at first and use submit() function later, if you just need to submit the form
preventDefault
submit()