The HTMLFormControlsCollection interface represents a collection of HTML form control elements.

Documentation HTMLFormControlsCollection by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Methods

namedItem(name:String):EitherType<RadioNodeList, Element>

Returns the RadioNodeList or the Element in the collection whose name or id match the specified name, or null if no nodes match. Note that this version of namedItem() hide the one inherited from HTMLCollection. Like that one, in JavaScript, using the array bracket syntax with a String, like collection["value"] is equivalent to collection.namedItem("value").

Inherited Variables

Defined by HTMLCollection

read onlylength:Int

Returns the number of items in the collection.

Inherited Methods

Defined by HTMLCollection

item(index:Int):Element

Returns the specific node at the given zero-based index into the list. Returns null if the index is out of range.