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

NAME

Mozilla::DOM::HTMLOptionsCollection

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

 * The nsIDOMHTMLOptionsCollection interface is the interface to a
 * collection of [X]HTML option 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::HTMLOptionsCollection->GetIID()

Pass this to QueryInterface.

METHODS

$length = $htmloptionscollection->GetLength()

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

    • $index (integer (long))

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

    • $name (string)

$htmloptionscollection->SetLength($length)

    • $length (integer (long))

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

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