The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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)

    • $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.