Function used to make a text box a searchable input for a given select box.
JSV_searchSelectBox(textObj, selectObj)
n/a
n/a
The searchSelectBox function uses the following arguments.
Argument | Description |
textObj | The TEXT object. The "search" text box. |
selectObj | The SELECT object. The select box to search against. |
n/a
n/a
The following lines of code
<form action="noaction.htm"
name="SearchForm"
id="SearchForm"
onSubmit="return false;">
<input type="text"
name="edSeachInput"
id="edSeachInput"
onKeyUp="JSV_searchSelectBox(this, this.form.FoodTypes);">
<br>
<select name="FoodTypes" id="FoodTypes" size="8">
<option value="abc">Apples</option>
<option value="abc">Banana</option>
<option value="abc">Cherries</option>
<option value="abc">Cheese Cake</option>
<option value="abc">Chili</option>
<option value="abc">Chili Cheese Fries</option>
<option value="abc">French Fries</option>
<option value="abc">Fried Chicken</option>
<option value="abc">Hamburger</option>
<option value="abc">Hot Dog</option>
<option value="abc">Oranges</option>
<option value="abc">Pineapple Upside Down Cake</option>
<option value="abc">Philly Cheese Steak</option>
<option value="abc">Popcorn</option>
<option value="abc">Shrimp Etoufee</option>
<option value="abc">Shrimp Po-Boy</option>
</select>
</form>
produce
Copyright © 2002 Roaring Fork Software. All rights reserved.