This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Searching through drop down menu through keyboard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Searching through drop down menu through keyboard" Watch "Searching through drop down menu through keyboard" New topic
Author

Searching through drop down menu through keyboard

Imdad Soomro
Greenhorn

Joined: Jul 15, 2009
Posts: 16
Dear All,

I have a drop down list in HTML.
e.g.

<select id="rt" name="rt">
<option value="">Good cook</option>
<option value="">Bad Maid</option>
<option value="">Tall Man</option>
<option value="">Short Tree</option>
<option value="">Quick Fox</option>
</select>

I want to search the above drop down menu and go quickly to my desired phrase by typing any of the contained word from phrase like when I type 'coo' the selection should go to 'Good Cook'. Currently it only looks for first word. But i want to search a word and it should see if searched word is contained in any of the phrase.

Quick response will be appreciated.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Searching through drop down menu through keyboard