PDA

View Full Version : Java Drop Down Question


techris
04-03-2007, 04:35 AM
In programs such as quickbooks, if you tab to a drop down menu and start typing...

example: Techris

Quickbooks will look for matches that start with 'T' then 'Te' then 'Tec' and so forth until you are finished typing.

When a form field in a browser is used with the same word the browser looks for matches that start with 'T' then 'e' then 'c' and so forth.

Can the magic of javascript allow a user to type in letters in sequence just as the form fields in programs such as quickbooks can?

Hope that makes sense.

Thanks in advance!

techris
04-03-2007, 08:33 PM
does anyone have ideas of any other way to get the same effect?

techris
04-04-2007, 05:34 AM
I found a working example of this if anyone can help me figure out how they did it.

goto: http://www.ups.com

the main search field on the main page works exactly right.

If you type slowely, the search line begins a new search with each letter. If you type fast enough the search follows the lettering until it has narrowed down the search perfectly.

Thanks!