WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
HTMLCollection
This is a scriptable interface corresponding to the following XPCOM interfaces:
Properties
readonly int length
Methods
Node item ( int index )
Node namedItem ( String name )
Node item ( int index )
The nsIDOMNodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. The items in the list are accessible via an integral index, starting from 0.
For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/
- Arguments:
- index
Node namedItem ( String name )
- Arguments:
- name
Reference documentation is generated from Mozilla's source.
