JQuery create a list based on another list
<p>what I am trying to do is generate an html list based from another list on the page. I have a list along the lines of below:</p>

<pre><code>&lt;ul&gt;
  &lt;li class="chosen"&gt;content&lt;/li&gt;
  &lt;li class="something"&gt;content&lt;/li&gt;
  &lt;li class="something"&gt;content&lt;/li&gt;
  &lt;li class="something"&gt;content&lt;/li&gt;
  &lt;li class="something"&gt;content&lt;/li&gt;
  &lt;li class="chosen"&gt;content&lt;/li&gt;
  &lt;li class="chosen"&gt;content&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>Whats the best plan of action to create a jquery function which will find the list items with the class of "chosen" and create another list with just these.</p>

<p>Any help would be great. Thank you.</p>
