[jQuery] Selecting and cloning part of table structure
[Sorry if this is a dup, first one didn't seem to post.]
Assuming I have
<table>
<tbody>
<tr id="first">
<td>1</td>
</tr>
<tr>
<td>2</td>
</tr>
</tbody>
</table>
is there a way with jQuery to select and then clone the following
(i.e. the table structure, but with just the first <tr>
<table>
<tbody>
<tr id="first">
<td>1</td>
</tr>
</tbody>
</table>
Thanks for your help
Pete.