Please add a summary to this article.
Inherits from:
nsIDOMXULControlElement
Last changed in Gecko 1.9 (Firefox 3)Method overview
nsIDOMXULSelectControlItemElement appendItem(in DOMString label, in DOMString value); |
long getIndexOfItem(in nsIDOMXULSelectControlItemElement item); |
nsIDOMXULSelectControlItemElement getItemAtIndex(in long index); |
nsIDOMXULSelectControlItemElement insertItemAt(in long index, in DOMString label, in DOMString value); |
nsIDOMXULSelectControlItemElement removeItemAt(in long index); |
Attributes
Attribute | Type | Description |
itemCount | unsigned long | Read only. |
selectedIndex | long | |
selectedItem |
| |
value | DOMString |
Methods
appendItem()
nsIDOMXULSelectControlItemElement appendItem( in DOMString label, in DOMString value );
Parameters
label
value
Return value
Requires Gecko 1.9 (Firefox 3)
getIndexOfItem()
long getIndexOfItem( in nsIDOMXULSelectControlItemElement item );
Parameters
item
Return value
Requires Gecko 1.9 (Firefox 3)
getItemAtIndex()
nsIDOMXULSelectControlItemElement getItemAtIndex( in long index );
Parameters
index
Return value
insertItemAt()
nsIDOMXULSelectControlItemElement insertItemAt( in long index, in DOMString label, in DOMString value );
Parameters
index
label
value
Return value
removeItemAt()
nsIDOMXULSelectControlItemElement removeItemAt( in long index );
Parameters
index