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

NAME

Mozilla::DOM::HTMLOptionElement

Mozilla::DOM::HTMLOptionElement is a wrapper around an instance of Mozilla's nsIDOMHTMLOptionElement interface. This class inherits from HTMLElement.

 * The nsIDOMHTMLOptionElement interface is the interface to a [X]HTML
 * option element.
 *
 * For more information on this interface please see
 * http://www.w3.org/TR/DOM-Level-2-HTML/
 *
 * @status FROZEN

CLASS METHODS

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

Pass this to QueryInterface.

METHODS

$bool = $htmloptionelement->GetDefaultSelected()

$bool = $htmloptionelement->GetDisabled()

$form = $htmloptionelement->GetForm()

$index = $htmloptionelement->GetIndex()

$label = $htmloptionelement->GetLabel()

$bool = $htmloptionelement->GetSelected()

$text = $htmloptionelement->GetText()

$value = $htmloptionelement->GetValue()

$htmloptionelement->SetDefaultSelected($defaultselected)

    • $defaultselected (boolean)

$htmloptionelement->SetDisabled($disabled)

    • $disabled (boolean)

$htmloptionelement->SetLabel($label)

    • $label (string)

$htmloptionelement->SetSelected($selected)

    • $selected (boolean)

$htmloptionelement->SetValue($value)

    • $value (string)

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.