Is it possible with JavaScript to have a dropdown box complete the selection as the user is typing in? I know that HTML does something similar but using just the first letter of the selection, but I'm looking to use that with part or whole words.
Example:
if my drop down box contains the following items:
Black
Blue
Gray
Green
Orange
Purple
Red
Yellow
If I start typing in the drop down box "B" it will highlight "Black". If I type "Bl" I want it to be able to highlight "Black". If I type "Blu" I want it to be able to highlight "Blue".
Example:
if my drop down box contains the following items:
Black
Blue
Gray
Green
Orange
Purple
Red
Yellow
If I start typing in the drop down box "B" it will highlight "Black". If I type "Bl" I want it to be able to highlight "Black". If I type "Blu" I want it to be able to highlight "Blue".
Comment