Jquery clone a table with specific row class
<p>Hey how can I clone the table named teamselectiontable with just the table rows that have the class "chosen", and modify another table and replace its contents with the table rows found.  But keeping the class names of "row" in the appended table.</p>

<pre><code>&lt;table id="teamselectiontable"&gt;
  &lt;tr class="chosen"&gt;content&lt;/tr&gt;
  &lt;tr class="something"&gt;content&lt;/tr&gt;
  &lt;tr class="something"&gt;content&lt;/tr&gt;
  &lt;tr class="something"&gt;content&lt;/tr&gt;
  &lt;tr class="something"&gt;content&lt;/tr&gt;
  &lt;tr class="chosen"&gt;content&lt;/tr&gt;
  &lt;tr class="chosen"&gt;content&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>To a table like below.</p>

<pre><code>&lt;table id="talentselection"&gt;
  &lt;tr class="row"&gt;&lt;/tr&gt;
  &lt;tr class="row"&gt;&lt;/tr&gt;
  &lt;tr class="row"&gt;&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

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