Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nick on Jan 25, 2009 20:09
open dhtmlx forum
set css of combobox

Hi all.
If I wanted to set the css for a combox can I do it like the below??

var store_status = dhtmlXComboFromSelect("store_status");

store_status.DOMelem_input.className += ' dhx_combo_box2';

Answer posted by Support on Jan 26, 2009 02:21
It will not cause any harm, but you can use built in css classes and just define necessary rules as

.dhx_combo_input{
   any necessary rules
}