Using jQuery, how do I delete all rows in a table except the first? This is my first attempt at using index selectors. If I understand the examples correctly, the following sh
Consider a table with id tbl: the jQuery code would be:
tbl
$('#tbl tr:not(:first)').remove();