Trigger the submit event of each matched element. This causes all of the functions that have been bound to that submit event to be executed, and calls the browser's default submit action on the matching element(s). This default action can be prevented by returning false from one of the functions bound to the submit event.
Example:
Triggers all submit events registered to the matched form(s), and submits them.
$("form").submit();
No comments:
Post a Comment