HTMLCollection : Object A list of %%/Element|Elements%% similar to an %%/NodeList|NodeList%%. The %%/Element#children|Element.children%% property returns an HTMLCollection. Spec: https://dom.spec.whatwg.org/#htmlcollection ---- instance[index : Number] : Element Returns the item at **index** in the collection.
Some text A span
ReadOnly: true ---- instance.length : Number The number of Elements in the list.
Some text A span
ReadOnly: true Spec: https://dom.spec.whatwg.org/#dom-htmlcollection-length ---- prototype.item(index : Number) : Element Same as %%#indexer_Number|**this[index]**%%. Spec: https://dom.spec.whatwg.org/#dom-htmlcollection-item ---- prototype.namedItem(idOrName : String) : Element Returns the Element in the **this** that has %%/Element#id|id%% or %%/HTMLInputElement#name|name%% equal to **idOrName**.
Some text A span
Spec: https://dom.spec.whatwg.org/#dom-htmlcollection-nameditem