jQuery selectable list items
Posted
by Erik Elkins
on Stack Overflow
See other posts from Stack Overflow
or by Erik Elkins
Published on 2009-12-08T04:37:26Z
Indexed on
2010/05/31
23:43 UTC
Read the original article
Hit count: 263
jQuery
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?
© Stack Overflow or respective owner