How to call "on complete" function on jQuery UI selectable?
<p>I am using jQuery UI like this:</p>

<pre><code>$('#theDiv').selectable({
    selected: function() { .... }
});
</code></pre>

<p>How do I call a function when the selectable thing is done? Just like I can call it in "fadeIn" as an example:</p>

<pre><code>$('#theDiv').fadeIn(function() { 
     ... happens on complete... 
});
</code></pre>

<p>If I call the desired function inside "selected:" the event will appear for every single selected item, I just want it to appear when the selection is done.</p>
