Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Smart Drop Down Box

Status
Not open for further replies.

MeNimo

Programmer
Jun 2, 2003
9
US
I have this <select> object which works as a drop down box. What I want to do is. There will be lot of items in the drop down list, and when I try to enter some values in the combo box, that is type in some values, it should go ahead and get me the matching items from the list. Do I make sense.

Say I have a drop down with

<option value=&quot;1&quot;>Apple</option>
<option value=&quot;2&quot;>Ant</option>
<option value=&quot;3&quot;>Sample</option>
<option value=&quot;4&quot;>Sammy</option>
<option value=&quot;5&quot;>Tom</option>
<option value=&quot;6&quot;>Tommy</option>

Yeah, when I go to the drop down box, originally there will be 6 items, and then I type 'A', and it should get me only Apple and Ant in the list, that is it shoudl filter out the matching items. And show only them. So that in case the User wants to select Tommy, then he will just have to type Tommy and he will get that item to display. If there is no matching Item, then there won't be any or it should not allow to enter any mismatching items. Well that is a secondary issue.

But is this possible ? Any help in this matter will be appreciated.

Thanks
Shanthi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top