[jQuery] removing table rows except the first one
Can anyone please confirm the syntax of what I am doing
I have a table with id="tbl", it has 4 rows. I need to remove all
rows 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