Form Object
Submit a form:
The submit() method submits the form (same as clicking the Submit button).
Tip: Use the reset() method to reset the form.
The submit() method is supported in all major browsers.