Visit Mozilla.org

XUL:Method:getIndexOfItem

From MDC

« XUL Reference home

getIndexOfItem( item )
Return type: integer
Returns the zero-based position of the specified item. Items are numbered starting at the first item displayed in the list.