bigtoe
Posts: 115
|
| Posted: 09/07/2004, 1:29 PM |
|
I have a listbox with about 60 items.
The listbox has a height of 10.
The user has to select 1 item from this required field.
The vertical scrolling is a problem.
To deal with this, I would like to:
a. Add a 6-character text field above the listbox.
b. Add a Find button above the listbox next to the text field.
c. Let the user enter a text pattern in the text field.
d. Then click on the Find button.
e. The JavaScript in Find button would find the first item in
the listbox that contains the pattern.
f. Highlight/select the item.
g. Make the item visible within the height of the listbox.
Can you help me with the JavaScript?
|
 |
 |
|