jquery ui selectable get id?
- by Grinart
how to get 'id' of item in selectable list, if the list is created dunamically?
<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?