Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

getSelectedItem

getSelectedItem( index )
Return type: element
When multiple items are selected, you can retrieve each selected item using this method. The argument <var>index</var> specifies the index in the list of the selected items, not the row number of the item. The item index is zero-based, thus this example will return the first selected item: getSelectedItem(0).

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Taschna, Dria
 Last updated by: Sheppy,