I have the following dynamic action jquery executing on page load of a report. If the value in a certain <td> column "BUDGET_MANAGER_APPROVAL is 'Rejected' I want to change the background color to red for the entire row. Can someone point me to the best syntax and way to do this? TY.
$('tr td[headers="BUDGET_MANAGER_APPROVAL"]').each(function(){
if (.innerHTML = "Rejected") {
$(this).closest('tr').attr('style','background-color:red');
}
});