Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Select item in opened drop-down list based on user entry


Level 9

I am using JavaScript to open a drop-down list of names during the enter event.


When the user enters the first few letters of the person's first name and only one name remains in the list, I want that name to be selected and populate that drop-down field when the user tabs out. I know the user could arrow down to their choice and then tab out but they prefer it to work the way I described. Is there a way to script that when only one item remains displayed and the user tabs out, that item is selected?

Thank you

0 Replies