Have fun :)
con-man-jake wrote:
It works! Thank you Liam. jake On Aug 19, 11:22 am, Liam Potter <[email protected]> wrote:$("#tbl tbody tr:not(:first-child)").remove(); con-man-jake wrote:Can anyone please confirm the syntax of what I am doingI have a table with id="tbl", it has 4 rows. I need to remove allrows except the first one.It has "tbody". Is this the way to do it $("#tbl > tbody > tr:gt(0)").remove(); If this is the way to do it, it is not working. Any help is appreciated.jake

