submitter property found on
SubmitEvent interface specifies the submit button or other element
that was invoked to cause the form to be submitted.
let submitter = submitEvent.submitter;
An element, indicating the element that sent
submit event to the form. While this
is often an
<input> element whose
submit or a
<button> element whose
submit, it could be some other element which has initiated a
If the submission was not triggered by a button of some kind, the value of
SubmitEvent for example code.
|HTML Standard (HTML)|
BCD tables only load in the browser