Highlight combobox

Dear all,

is there a change to highlight the inputline of a combobox (like you can do for a “normal” field with onclick=“this.select()”)

thks

Hello
Could you provide an image with expecting result? We’ll try to heip you.

Image???

my users ask me to have a little bit more accommodation while using a combobox.

Think about a combobox with >100 person name (sorted my lastname + firstname) and i.e “Clonney George” selected. To select a new they need to click with the mouse in the field and select the complette text (highlight it). Now they can type i.e. “mo” to filter (autofilter is on) “Moore Demy” and select it.

So the wish of the users is to select (highlight) the complette text when click into the field (or tab to it) so that they can start typing without first select the complette text and delete it.

Do you mean the selection like on the image?


If so - use the code below:

combo.attachEvent("onSelectionChange", function(){ combo.DOMelem_input.select(); });