$(selector).submit(function)
".submit()" event is executed when the form is submitted. It only works with form elements. Below is the simple example to show an alert when the form is submitted.
Name : Age : DOB : Comments :