Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for HTMLFormElement: requestSubmit() method.
Dictionary 0
This corpus is unavailable: timeout
Papers 0
This corpus is unavailable: timeout
Developer library 5
Firefox 75 release notes for developers
`, it now returns `null` if the caller is a strict, async, or generator function ([Firefox bug 1610206](https://bugzil.la/1610206)). ### APIs #### DOM - The HTMLFormElement interface has a new method, requestSubmit(). Unlike the old (and still available) submit() method, `requestSubmit()` acts as if a specified submit button has been clicked, rather than just sending the form data to the recipient. Thus the submit
HTMLFormElement
HTML DOM The **`HTMLFormElement`** interface represents a form element in the DOM. It allows access to—and, in some cases, modification of—aspects of the form, as well as access to its component elements. ## Instance properties _This interface also inherits properties from its parent, HTMLElement._ - HTMLFormElement.acceptCharset - : A string reflecting the value of the form's [`accept-charset`](/docs/Web/HTM
HTMLFormElement: submit event
HTML DOM The **`submit`** event fires when a form is submitted. ## Syntax Use the event name in addEventListener(): ```js-nolint addEventListener("submit", (event) => { }) ``` Alternatively, assign to the [event handler property](/docs/Web/API/Document_Object_Model/Events#using_onevent_properties) of the interface: ```js-nolint onsubmit = (event) => { } ``` ## Event type A SubmitEvent. Inherits from Event. S
HTMLFormElement: requestSubmit() method
HTML DOM The HTMLFormElement method **`requestSubmit()`** requests that the form be submitted using a specific submit button. ## Syntax ```js-nolint requestSubmit() requestSubmit(submitter) ``` ### Parameters - `submitter` - : A submit button that is a member of the form. If the `submitter` specifies `form*` attributes, they [will override](/docs/Glossary/Submit_button#overriding_the_forms_behavior) the
HTMLFormElement: submit() method
HTML DOM The **`HTMLFormElement.submit()`** method submits a given form. This method is similar, but not identical to, activating a form's submit button. When invoking this method directly, however: - No submit event is raised. In particular, the form's `onsubmit` event handler is not run. - [Constraint validation](/docs/Web/HTML/Guides/Constraint_validation) is not triggered. The HTMLFormElement.requestSubmit()