setChecked() method is not working right.

Hello,

I am trying to use the method setchecked() to set the value dynamically using javascript for dhtmlx combo, however, the value is not getting updated. Can anyone help me on this?

dayStart = dhtmlXComboFromSelect(“dayStart”);
dayStart.readonly(true);
dayStart.setChecked(1,true);

Hello,

setChecked sets state of an option checkbox. And the same code works correctly in local samples. Could you attach a complete demo ?