Categories | Question details Back To List | ||
dhtmlxCombo modify style Hi, In our application we make input field highlighted red if an input error occurs. This does not work when using the combo box as it creates its own input field like <input.... > and so on. This still does not work even if we initialize from a select field where we have set the error css style on the field because it does not inherit the style in the created input field. We need this to work perhaps just by us being able to manually create the input field that the combobox script uses anyway. Is this possible? This seems to be the way all the other autocomplete scripts work. Answer posted by Support on Jan 30, 2008 07:28 The combo box may be initialized from select or plain HTML container - in both cases initial container is not an input, so there is nothing to preserve. After combo creation , you can access DOM element of input as var combo = new... combo.DOMelem_input you can assign any necessary css to it. |