title: jquery ui selectable get id?
body: <p>How do I get the 'id' of an item in a selectable list, if the list is created dynamically?</p>
  
  <pre><code>  &lt;ul id="selectable"&gt;
    &lt;li id='1'&gt;..&lt;/li&gt;
        .
        .
        &lt;li...
    &lt;/ul&gt;
  </code></pre>
  
  <p>I tried <code>var num = $('#selecable :selected').attr( "option" , 'id' );</code> but get only [object Object]...</p>
  
  <p>What is the right way?</p>