'onSubmit' Syntax and Note : onSubmit « Event Handlers Reference « JavaScript Reference
- JavaScript Reference
- Event Handlers Reference
- onSubmit
'onSubmit' Syntax and Note
Note:
This event fires when the user submits a form or clicking a Submit button.
This event is in response to the form.submit() method.
Use this action to validate data on the client side.
Related examples in the same category