3
I have some tr in the table that contains the tr-Child class and I would like to change their color when the value of the fourth column of that tr was > 0. This is possible with jquery ?
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 <--
}
});
Very interesting your tip, I didn’t know it... Thanks for the help, it was similar to what I had already done, but simpler and efficient.
– Carlinhos