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.

nsIDOMHTMLCollection

IID:a6cf9083-15b3-11d2-932e-00805f8add32
Inherits From:nsISupports

Properties

readonly PRUint32 length

The nsIDOMHTMLCollection interface is an interface to a collection of [X]HTML elements.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-HTML/


Methods

nsIDOMNode item ( PRUint32 index ) nsIDOMNode namedItem ( DOMString name )

nsIDOMNode item ( PRUint32 index )

Arguments:
index

nsIDOMNode namedItem ( DOMString name )

Arguments:
name

References

This interface is the type of the following properties:

nsIDOMHTMLDocument.anchors, nsIDOMHTMLDocument.applets, nsIDOMHTMLDocument.forms, nsIDOMHTMLDocument.images, nsIDOMHTMLDocument.links, nsIDOMHTMLFormElement.elements, nsIDOMHTMLMapElement.areas, nsIDOMHTMLTableElement.rows, nsIDOMHTMLTableElement.tBodies, nsIDOMHTMLTableRowElement.cells, nsIDOMHTMLTableSectionElement.rows, nsIDOMNSHTMLDocument.embeds, nsIDOMNSHTMLDocument.plugins

Reference documentation is generated from Mozilla's source.