To trigger the submit event on the first form on the page : Form Submit « jQuery « JavaScript Tutorial






$("form:first").submit();








30.125.Form Submit
30.125.1.Cancel submit event by returning false
30.125.2.Turn off submit action
30.125.3.Submit event
30.125.4.To trigger the submit event on the first form on the page
30.125.5.Validate form and output message