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")
.