nsIDOMXULSelectControlElement

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 nsIDOMXULSelectControlItemElement  
value DOMString  

Methods

appendItem()

nsIDOMXULSelectControlItemElement appendItem(
  in DOMString label,
  in DOMString value
);
Parameters
label
value
Return value

 

getIndexOfItem()

long getIndexOfItem(
  in nsIDOMXULSelectControlItemElement item
);
Parameters
item
Return value

 

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
Return value

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,