Scott Lanning > Mozilla-DOM > Mozilla::DOM::HTMLSelectElement

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

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)

$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)

$htmlselectelement->SetDisabled($disabled)

$htmlselectelement->SetLength($length)

$htmlselectelement->SetMultiple($multiple)

$htmlselectelement->SetName($name)

$htmlselectelement->SetSelectedIndex($selectedindex)

$htmlselectelement->SetSize($size)

$htmlselectelement->SetTabIndex($tabindex)

$htmlselectelement->SetValue($value)

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.

syntax highlighting: