jQuery selectable list items
- by Erik Elkins
I want to be able to get information about the selected item in the ordered list whose ID is #selectable. The below code returns the ID #selectable, I'm looking for the id of the item I just selected.
$('#selectable').selectable({
selected: function (event, ui) {
alert($(this).attr('id').toString());
}
});
Any ideas?