how to get 'id' of item in selectable list, if the list is created dynamically?
<ul id="selectable">
<li id='1'>..</li>
.
.
<li...
</ul>
I tried var num = $('#selecable :selected').attr( "option" , 'id' );
but get only [object Object]... what is the right way?