Hi all,
When you have a drop down list [select][option][/option][/select] etc., and the text area is selected, the default behavior is for every keystroke to cause the selected option item to change, namely to the first one in the list that starts with that letter. For example, if I have options "animal" "bear" "boy" "oyster" etc., and the list has focus, and I type "b", it will jump to "bear". If I wanted to get to "boy", and then typed an "o" hoping to get to the first word that starts with "bo", I'll be disappointed to see that I land on "oyster". I'd like to implement a drop down list that overrides the default behavior and functions rather like the index of MS Office Help, where every progressive letter narrows down the selected choices. It only needs to work in IE 5.0 and higher, and can be JavaScript, DHTML, or any other script that follows DOM. Anybody have any suggestions? Thanks in advance!
When you have a drop down list [select][option][/option][/select] etc., and the text area is selected, the default behavior is for every keystroke to cause the selected option item to change, namely to the first one in the list that starts with that letter. For example, if I have options "animal" "bear" "boy" "oyster" etc., and the list has focus, and I type "b", it will jump to "bear". If I wanted to get to "boy", and then typed an "o" hoping to get to the first word that starts with "bo", I'll be disappointed to see that I land on "oyster". I'd like to implement a drop down list that overrides the default behavior and functions rather like the index of MS Office Help, where every progressive letter narrows down the selected choices. It only needs to work in IE 5.0 and higher, and can be JavaScript, DHTML, or any other script that follows DOM. Anybody have any suggestions? Thanks in advance!
Comment