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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autocomplete drop-down box

Status
Not open for further replies.
Feb 9, 2007
46
US
Hi,

I have a drop down box which consists of the names of employees. The total number of names totals 641. It is built using ASP recordset object.

When the users search for a name, they type a letter by typing a letter and it jumps to the first instance of that letter. Since all the names are sorted by Last Name, they can see all the names starting with the letter they selected on the keyboard.

Now is there a way, I can use autocomplete by entering "St" and it would show me names starting with "St" etc.

I googled for autocomplete, but many examples have a textbox tied to a drop-down box instead. I do not want a textbox. I want to do this directly on a drop-down. Is it possible.

Thanks.
 
Forum member jemminger (the long time full list javascript mvp here) has built a script to do exactly that. You can download it from his website here:


-kaht

Looking for a puppy? [small](Silky Terriers are hypoallergenic dogs that make great indoor pets due to their lack of shedding and small size)[/small]
 
reportingbuzz, did jemminger's script help you complete your project?

-kaht

Looking for a puppy? [small](Silky Terriers are hypoallergenic dogs that make great indoor pets due to their lack of shedding and small size)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top