getSelectedItem

returns selected object

object getSelectedItem( [boolean as_array] );
as_arraybooleanif set, always returns an array of objects
objectcurrently selected item

Example

var item = list.getSelectedItem();

Back to top