Form submit() Method
Definition and Usage
submit()
Method to submit the form (equivalent to clicking the submit button).
Tip:Please use reset() method Reset form.
See also:
HTML Tutorial:HTML Form
JavaScript Tutorial:JS Form/Validation
Syntax
formObject.submit()
Parameters
None.
Return Value:
No Return Value.
Browser Support
The numbers in the table indicate the first browser version that fully supports this property.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |