How do I attach detached objects
<p>The title already says it ... I'm looking for a way to attach my detached objects.</p>

<p><a href="http://jsfiddle.net/jy2Zj/" rel="nofollow">http://jsfiddle.net/jy2Zj/</a></p>

<p>At the moment I can realize an alert only. How would I replace the function?</p>

<p>Thanks for your help.</p>

<p><em><strong>Edit</em></strong>
Another question came up to my mind. Is there a way to suppress the closing of the select box after choosing "all"?</p>
