Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ddl complete as typing

Status
Not open for further replies.

kaijanm

Programmer
May 14, 2003
102
US
Hello. Thanks in advance for any help you can provide.

I have a drop down list of Employers. I would like the user to be able to start typing into it and have it go to the spot in the list based on what they are spelling out, not just the first letter.

The default behavior seems to do the following. Say you're looking for 'Albuquerque Computers'. The user starts typing 'Albuquerque' and what happens is the 'A' brings them to the first 'A' item in the list, but then the 'l' brings them to the first 'L' item in the list rather than the first 'Al' item.

Any ideas how to have this bring up the first 'Al' word rather than change to L* words?

Thanks!
Kimberly
 
you need a bit of javascript to accomplish this. post in that forum and i'll try to respond there.

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top