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.

NodeList

This is a scriptable interface corresponding to the nsIDOMNodeList XPCOM interface.

Properties

readonly int length


Methods

Node item ( int index )

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

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com