How can you get all rows in a table without getting the rows in child tables?
var rows = $(\'tr\', tbl);
This will return ALL
The child selector will get the table's If you already have a table object: Or: Here is a working example.
var rows = $('#tblID > tbody > tr')
element and consequently get the
elements that are direct children of the table's tbody.
var rows = $(tbl).find('> tbody > tr');
var rows = $(tbl).children('tbody').children('tr');