简单弄了一个,参考:
if(this.getValue()=='YES'){
$("div[widgetname='COMBOBOX0'] div input").css({"background-color":'rgb(51, 204,204)',"color":"red","font-weight":'bold'})}
else if (this.getValue()=='NO'){
$("div[widgetname='COMBOBOX0'] div input").css({"background-color":'white',"color":"yellow","font-weight":'bold'})
}