Visit Mozilla.org

XUL:Property:selectedIndex

From MDC

« XUL Reference home

selectedIndex
Type: integer
Returns the index of the currently selected item. You may select an item by assigning its index to this property. By assigning -1 to this property, all items will be deselected.