I'm not entirely sure what you're trying to accomplish, but selecting
that first <tr> is easy since it has its own id, just use $
("#first").clone()

On Apr 2, 8:32 pm, Pete Kruckenberg <[EMAIL PROTECTED]>
wrote:
> 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