all | NN n/a IE 4 DOM n/a | ||
A collection of elements nested within the current element. A reference to document.all, for example, returns a collection (array) of all element objects contained by the document, including elements that may be deeply nested inside the document's first level of elements. The collection is sorted in source code order of the element tags. | |||
Object Model Reference
|
length | NN n/a IE 4 DOM n/a |
Read-only | |
Returns the number of elements in the collection. | |
Examplevar howMany = document.all.length | |
Value Integer. |
item( ) | NN n/a IE 4 DOM n/a | ||||
item(index[, subindex]) Returns a single object or collection of objects corresponding to the element matching the index value (or, optionally, the index and subindex values). | |||||
Returned Value One object or collection (array) of objects. If there are no matches to the parameters, the returned value is null. | |||||
Parameters
|