WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMHTMLSelectElement

IID:a6cf9090-15b3-11d2-932e-00805f8add32
Inherits From:nsIDOMHTMLElement
Status:FROZEN

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/


Properties

PRBool disabled

readonly nsIDOMHTMLFormElement form

PRUint32 length

PRBool multiple

DOMString name

readonly nsIDOMHTMLOptionsCollection options

PRInt32 selectedIndex

PRInt32 size

PRInt32 tabIndex

readonly DOMString type

DOMString value


Methods

void add ( nsIDOMHTMLElement element , nsIDOMHTMLElement before ) void blur ( ) void focus ( ) void remove ( PRInt32 index )

void add ( nsIDOMHTMLElement element , nsIDOMHTMLElement before )

Arguments:
element
before

void blur ( )


void focus ( )


void remove ( PRInt32 index )

Arguments:
index

References

This interface is the type of the following properties:

nsIDOMNSHTMLOptionCollection.select

Reference documentation is generated from Mozilla's source.