The onsubmit event attribute is supported in all major browsers.
The onsubmit attribute fires when a form is submitted.
The onsubmit attribute is only used within: <form>.
|script||The script to be run on onsubmit|
Your message has been sent to W3Schools.