how to get rows of table in jquery code example
Example 1: jquery get each row in table
$('table > tbody > tr').each(function(index, tr) {
console.log(index);
console.log(tr);
});
Example 2: jquery grab table row
$('.itemTable').eq(2);
//this will grab the 3rd row of the table with the class itemTable