I would like to see the BackGround color red if element in the list is null.
In element javascript onload/onblur event i have this code:
jQuery.each(rows, function(rowid, row) {
if (row.forecast___RatingIC === null || row.forecast___RatingIC === '' ) {
jQuery(row.forecast___RatingIC).css('background-color', 'red');
}
else {
jQuery(row.forecast___RatingIC).css('background-color', 'green');
}
})
why not work ? How to do?
Thanks
In element javascript onload/onblur event i have this code:
jQuery.each(rows, function(rowid, row) {
if (row.forecast___RatingIC === null || row.forecast___RatingIC === '' ) {
jQuery(row.forecast___RatingIC).css('background-color', 'red');
}
else {
jQuery(row.forecast___RatingIC).css('background-color', 'green');
}
})
why not work ? How to do?
Thanks