Interface HTMLFormControlsCollection
interface HTMLFormControlsCollection {
length: number;
[iterator](): ArrayIterator<Element>;
item(index: number): Element;
namedItem(name: string): Element | RadioNodeList;
}
length: number;
[iterator](): ArrayIterator<Element>;
item(index: number): Element;
namedItem(name: string): Element | RadioNodeList;
}
Hierarchy
- HTMLCollectionBase
- HTMLFormControlsCollection (view full)
Index
Properties
Methods
Methods
[iterator]
- [iterator](): ArrayIterator<Element>
Returns ArrayIterator<Element>
item
namedItem
- named
Item (name): 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