Javascript - Jquery call a function on form submit, Function call on form submit

Jquery call a function on form submit


How to skip the form from submitting and call any function while submitting?

for eg,
if you are using html5, then you need a form to validate any field. Also if you are using ajax instead of direct form submit, then use the following to call the ajax function on submitting the form,
 $("form").submit(function(){
 func();
 }); 

The topic on Javascript - Jquery call a function on form submit is posted by - Math

Hope you have enjoyed, Javascript - Jquery call a function on form submitThanks for your time

Tech Bluff