Default value: -1
A value that specifies the index of the item to select when using single mode.
Syntax
$(function () {
// Get value
var returnsValue; // Type: number
returnsValue = $(".selector").wijlist("option", "selectedIndex");
// Set value
var newValue; // Type: number
$(".selector").wijlist("option", "selectedIndex", newValue);
});
var selectedIndex : number;
See Also