Hi,
I'm trying to change the background-color of a field when another field value changes on a edit page, but I cant seem to get the code right
$(document).ready(function(){
$("#x_nutrientTypeCode_1").change(function(){
if($("#x_servingSizeUOM").val() =="")
$this->quantityContained_1->CellCssStyle = "background-color: #FF0000";
});
});
Can someone please help me out?
Thx!!