Can't change backgroung color on combo disable (IE)

Hi

combo = new dhtmlXCombo(“comboSetup”, “NewDefectForm”, 200);
combo.disable(true);
combo.show(true);

Html:

I configured combo like above, It’s working great. But it’s not changing the background color to ‘Grey’ in IE on disable(true) .And in firefox and other browsers it’s working perfect.

Colud you please tell us how can we do that in IE?

Thanks

Hi,

combo behavior is the same as input behavior in the browser. Combo consists of html input. And does not change input background in IE.

You may check the color manually:

combo.disable();
combo.DOMelem_input.style.backgroundColor = “#ebebe4”;

and to enable combo

combo.disable(false);
combo.DOMelem_input.style.backgroundColor = “#ffffff”;

Excellent. Thanks