Dynamically change the background color of the Combo

I see in the dhtmlcombo.css there are the following:

.dhx_combo_input{
color:#333333;
font-family: Arial;
font-size: 9pt;
border:0px;
padding:2px 2px 2px 2px;
position:absolute;
top:0px;
background-color: white;
}
.dhx_combo_box{
position:relative;
text-align:left;
border:1px solid #7F9DB9;
height:20px;
_height:22px;
overflow:hidden;
background-color: white;
}

So I can change the background color by changing the above, but I want to dynamically change it using PHP and I am not sure how to tell the Combo box how to use a new class. With a regular text input box I just add class=“MyFormTextBoxBlue”. Can I do something like that with the Combo box using something like z.DOMelem_button.style.display = “none”;

combo.DOMelem.className += " someCustomBox"; combo.DOMelem_input.className += " someCustomInput";

Thanks, that works great!

Where would I see this documented? I searched for it but could not find it. I would like to understand so in the future I can figure out these changes on my own.

Thanks again.

Where would I see this documented?

This approach isn’t documented. Here someCustomBox - custom css class that is applied to combo header.

OK thanks.

If the people who work on the documentation happen to read this post it would be great if they could document these options.