Categories | Question details Back To List | ||||||||
dhtml combo box disable autocomplete feature causing problem Thanks for your quick reply, but the problem is still unsolved. I updated my code like this /*if (filter){var text=this.getComboText(); if (text!=data[1]){ // this.setComboText(data[1]); // dhtmlXRange(this.DOMelem_input,text.length+1,data[1].length); } } else*/ this.setComboText(data[1]);//--------------------------------------------------------------------------------------------------- but as i start to type some text in combo box it selected the first option i dont want to select the first option if there are more than one option, but if there is only one option then it gives me control to select that option by pressing the key down. Secondly, i would like to inform u that i have set the REGULAR EXPRESSION LIKE THIS var filter=new RegExp(text,"i");b/c i want filtering just like LIKE operator works with '%Sometext%' . Answer posted by Support on Jan 27, 2009 02:08 Problem confirmed, some additional modification required to change behavior of combo in necessary way. Please check attached sample. Answer posted by Wasi on Jan 27, 2009 02:39 No attchment found. Plz attach urgent.
Answer posted by Support on Jan 27, 2009 03:00 Please check attached one Attachments (1)
Answer posted by Wasi on Jan 27, 2009 04:23 Thanks, Perfect Solution ! |