NAME

Mozilla::DOM::HTMLCollection

Mozilla::DOM::HTMLCollection is a wrapper around an instance of Mozilla's nsIDOMHTMLCollection interface. This class inherits from nsISupports.

* 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/
*
* @status FROZEN

CLASS METHODS

$iid = Mozilla::DOM::HTMLCollection->GetIID()

Pass this to QueryInterface.

METHODS

$length = $htmlcollection->GetLength()

$retval = $htmlcollection->Item($index)

This returns a Mozilla::DOM::Node.

    • $index (integer (long))

$retval = $htmlcollection->NamedItem($name)

    • $name (string)

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.