Returns the specific node whose ID or, as a fallback, name matches the string specified by name.
Returns the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute. Returns null if no node exists by the given name.
The HTMLFormControlsCollection interface represents a collection of HTML form control elements.
It represents the lists returned by the HTMLFormElement interface's elements property and the HTMLFieldSetElement interface's elements property.
This interface replaces one method from HTMLCollection, on which it is based.