jQuery submit() method
Example
Display an alert box when the form is submitted:
$("form").submit(function(){
alert("Submitted");
});
Try it »
Definition and Usage
The submit event occurs when the form is submitted.
This event only applies to
Display an alert box when the form is submitted:
$("form").submit(function(){
alert("Submitted");
});
Try it »
The submit event occurs when the form is submitted.
This event only applies to