You are on page 1of 1

$('td[headers="JOB"]').

each(function() {
sal=$(this).closest('tr').find('td:nth-child(6)').text();
if ( sal < 1000 )
{
$(this).closest('tr').find('td:nth-child(6)').css({"color":"#FF0000"});
}
});

You might also like