Highlight Select tag option from keyboard inout
Well, Its one of those common feature you have in all website with Select tags. I have a list of countries 开发者_如何学Cin a select tag. Now, I want that, if I press 'I' from keyboard, the first Country names that start with 'I' will get selected.. I tried some java script fount in internet. but they didn't work..
A snippet will be of immense help. :)
I'm not aware of any browser in common use that doesn't support that as a standard feature of its implementation of a select element.
You don't need JavaScript, they just work that way.
精彩评论