This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching through drop down menu through keyboard

 
Imdad Soomro
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic