Nuestros voluntarios aún no han traducido este artículo al Español. ¡Únete a nosotros y ayúdanos a traducirlo!
También puedes leer el artículo en English (US).

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.

Properties

This interface inherits the properties of its parent, HTMLCollection.

Methods

This interface inherits the methods of its parent, HTMLCollection.

HTMLFormControlsCollection.namedItem()
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").

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLFormControlsCollection' in that specification.
Living Standard No change since the last snapshot, HTML5.
HTML5
The definition of 'HTMLFormControlsCollection' in that specification.
Recommendation In this snapshot of HTML Living Standard, the HTMLFormControlsCollections is defined for the first time.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes No271 No Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes No271 Yes ? ?

1. Until Firefox 32 included, the eventual RadioNodeList returned by namedItem was a NodeList.

See also

Etiquetas y colaboradores del documento

Colaboradores en esta página: fscholz, Sheppy, Sebastianz, teoli, yanakey, Rob W, kscarfone, jswisher
Última actualización por: fscholz,