Glossary Term
HTMLFormElement.requestSubmit()
The HTMLFormElement method requestSubmit() requests that the form be submitted using a specific submit button.
Inputs: submitter A submit button that is a member of the form.
Inputs: If the submitter specifies form* attributes, they will override the form’s submission behavior (e.g., formmethod=”POST”).
Inputs: If the submitter has a name attribute or is an image input, its data will be included in the form submission (e.g., btnName=btnValue).
Inputs: If you omit the submitter parameter, the form element itself is used as the submitter.
Exceptions: TypeError Thrown if the specified submitter is not a submit button. NotFoundError DOMException Thrown if the specified submitter isn’t a member of the form on which requestSubmit() was called. The submitter must be either a descendant of the form element or must have a form attribute referring to the form.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
