Callback
The function passed as a callback will receive the newly selected value as the first parameter:
$("select").selecter({
callback: selectCallback
});
function selectCallback(value, index) {
alert("OPTION SELECTED: " + value + ", INDEX: " + index);
}
Demo
Disabling
Selecter will automatically detect disabled fields, but you can always manually trigger the disable or enable event:
$("select").selecter("disable");
$("select").selecter("enable");