100
rated 0 times
[
102]
[
2]
/ answers: 1 / hits: 18518
/ 11 Years ago, fri, october 4, 2013, 12:00:00
I need to loop through all rows for a particular table, and I have done it as below. At one point, I need to remove the matching table row. I couldn't figure out how to skip the first row and loop through all others. My code below is looping through all tr's.
$('#tbl_dynamic_call_dates > tbody > tr').each(
function() {
console.log($(this).find('td:first').text());
if($.inArray($(this).find('td:first').text(),array) == -1){
$(this).remove();
}
More From » jquery