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="1">Apple</option>
<option value="2">Ant</option>
<option value="3">Sample</option>
<option value="4">Sammy</option>
<option value="5">Tom</option>
<option value="6">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
Say I have a drop down with
<option value="1">Apple</option>
<option value="2">Ant</option>
<option value="3">Sample</option>
<option value="4">Sammy</option>
<option value="5">Tom</option>
<option value="6">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