I own some tr in the table that contains the tr-child class and would like to change their color when the value of the fourth column of that tr is> 0. Is this possible with jquery?
I had already done something ...
$('.tr-child td:nth-child(4)').each(function(index, element){
if(element.innerHTML > 0){
// precisaria setar a tr referente a esta td aqui <--
}
});