Reputation: 15475
I have a hierarchy of many records (a 1000 to be exact) that I display in a dropdownlist. Is there a way to filter this list down with a keyup event of the select/option list?
<select id="food">
<option>Foods</option>
<option> Fruits</option>
<option> Apple</option>
<option> Vegetables</option>
<option> Carrot </option>
</select>
Thanks, rod.
Upvotes: 3
Views: 146
Reputation: 10637
You might be able to use something like a jQuery Autocomplete plugin:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
Upvotes: 2