Hi Pete, I made an example, please review it and tell me if it doesn't match your needs:
<html> <head> <script src="jquery.js"></script> <script> $(document).ready(function() { var newtable = $("#mytable").clone(true); newtable.attr("id","mytable2"); newtable.insertAfter("#mytable"); $("#mytable2 > tbody > tr:not(#first)").remove(); }); </script> </head> <body> <table id="mytable" border=1> <tbody> <tr id="first"> <td>1</td> </tr> <tr> <td>2</td> </tr> </tbody> </table> </body> </html> Thanks. Qutoz, On Apr 3, 5:52 am, Pete Kruckenberg <[EMAIL PROTECTED]> wrote: > [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.