FANDOM


Line of inheritance:
ObjectHTMLCollection
This article is a stub. You can help the JavaScript Wiki by expanding it.
Template:Mainonly

An HTMLCollection is an array-like object which lists HTML elements according to their name and id attributes and their order of occurrence in the document.

PropertiesEdit

lengthEdit

Data type number
Standard DOM Level 1 HTML, DOM Level 2 HTML
Documentation none

MethodsEdit

itemEdit

Data type function
Return type Node
Parameter list index (number)
Standard DOM Level 1 HTML, DOM Level 2 HTML
Documentation Microsoft (IE8)

namedItemEdit

Data type function
Return type Node
Parameter list name (string)
Standard DOM Level 1 HTML, DOM Level 2 HTML
Documentation Microsoft (IE8)

See alsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.