MDN wants to learn about developers like you:


getSelectedItem( index )
Return type: element
When multiple items are selected, you can retrieve each selected item using this method. The argument index 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,