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.

nsIDOMXULSelectControlElement

IID:919D9808-8937-4CEC-9390-91225EB8864B
Inherits From:nsIDOMXULControlElement

Properties

readonly PRUint32 itemCount

PRInt32 selectedIndex

nsIDOMXULSelectControlItemElement selectedItem

DOMString value


Methods

nsIDOMXULSelectControlItemElement appendItem ( DOMString label , DOMString value ) PRInt32 getIndexOfItem ( nsIDOMXULSelectControlItemElement item ) nsIDOMXULSelectControlItemElement getItemAtIndex ( PRInt32 index ) nsIDOMXULSelectControlItemElement insertItemAt ( PRInt32 index , DOMString label , DOMString value ) nsIDOMXULSelectControlItemElement removeItemAt ( PRInt32 index )

nsIDOMXULSelectControlItemElement appendItem ( DOMString label , DOMString value )

Arguments:
label
value

PRInt32 getIndexOfItem ( nsIDOMXULSelectControlItemElement item )

Arguments:
item

nsIDOMXULSelectControlItemElement getItemAtIndex ( PRInt32 index )

Arguments:
index

nsIDOMXULSelectControlItemElement insertItemAt ( PRInt32 index , DOMString label , DOMString value )

Arguments:
index
label
value

nsIDOMXULSelectControlItemElement removeItemAt ( PRInt32 index )

Arguments:
index

References

This interface is the type of the following properties:

nsIDOMXULSelectControlItemElement.control

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com