Interface HTMLFormControlsCollection
interface HTMLFormControlsCollection {
length: number;
"[iterator]"(): ArrayIterator<Element>;
item(index: number): Element;
namedItem(name: string): Element | RadioNodeList;
[index: number]: Element;
}
length: number;
"[iterator]"(): ArrayIterator<Element>;
item(index: number): Element;
namedItem(name: string): Element | RadioNodeList;
[index: number]: Element;
}
Hierarchy
- HTMLCollectionBase
- HTMLFormControlsCollection (View Summary)
Indexable
Index
Properties
Methods
Methods
[iterator]
- "[iterator]"(): ArrayIterator<Element>
Returns ArrayIterator<Element>
item
namedItem
- namedItem(name: string): Element | RadioNodeList
Returns the item with ID or name name from the collection.
If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.
Parameters
- name: string
Returns Element | RadioNodeList
A collection of HTML form control elements.
MDN Reference