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.

Reply via email to