NAME

Mozilla::DOM::HTMLSelectElement

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

* The nsIDOMHTMLSelectElement interface is the interface to a [X]HTML
* select 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::HTMLSelectElement->GetIID()

Pass this to QueryInterface.

METHODS

$htmlselectelement->Add($element, $before)

    • $element (Mozilla::DOM::HTMLElement)

    • $before (Mozilla::DOM::HTMLElement)

$htmlselectelement->Blur()

$htmlselectelement->Focus()

$bool = $htmlselectelement->GetDisabled()

$form = $htmlselectelement->GetForm()

$length = $htmlselectelement->GetLength()

$bool = $htmlselectelement->GetMultiple()

$name = $htmlselectelement->GetName()

$options = $htmlselectelement->GetOptions()

The collection of OPTION elements contained by this element.

$options is a Mozilla::DOM::OptionsCollection.

In list context, returns a list of Mozilla::DOM::HTMLOptionElement.

$selectedindex = $htmlselectelement->GetSelectedIndex()

$size = $htmlselectelement->GetSize()

$tabindex = $htmlselectelement->GetTabIndex()

$type = $htmlselectelement->GetType()

$value = $htmlselectelement->GetValue()

$htmlselectelement->Remove($index)

    • $index (integer (long))

$htmlselectelement->SetDisabled($disabled)

    • $disabled (boolean)

$htmlselectelement->SetLength($length)

    • $length (integer (long))

$htmlselectelement->SetMultiple($multiple)

    • $multiple (boolean)

$htmlselectelement->SetName($name)

    • $name (string)

$htmlselectelement->SetSelectedIndex($selectedindex)

    • $selectedindex (integer (long))

$htmlselectelement->SetSize($size)

    • $size (integer (long))

$htmlselectelement->SetTabIndex($tabindex)

    • $tabindex (integer (long))

$htmlselectelement->SetValue($value)

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