|onsubmit||Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 2|
|Bubbles: No (IE); Yes (NN 6); Cancelable: Yes|
Fires when a form element receives a request to submit the form from a submit-type input element but not from a scripted submit( ) method. This is the event to trigger one final client-side form validation prior to sending a form to the server. By canceling the event, a script in the onsubmit event handler aborts the submission.
The form element.
Powered by Linode.