item

item returns the element with index from the collection. The elements are sorted in tree order.

Syntax

element = collection.item(index)
element = collection[index]

Examples

1

2

Internal

length

namedItem

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu