Solved

Smart Select Box

Posted on 2004-08-02
4
304 Views
Last Modified: 2006-11-17
I have a select box with over a thousand employee IDs and when the user types the first letter of the employee ID it moves to that section in the select box but when the type a second letter of the employee ID it move to that section of the select box.  Is there a way that when the user types the second and/or third letters of the employee ID that it move down within the section that was selected from the first letter of that ID. Please provide code examples.

Thanks
0
Comment
Question by:veeroy
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
dfu23 earned 250 total points
Comment Utility
this is the best thing that I have seen ...

http://www.mattkruse.com/javascript/autocomplete/
0
 

Author Comment

by:veeroy
Comment Utility
That is not exactly what I am looking for. I want to be able to type the letters on the key board and have the select box change.  So if I type " S " then the select box moves to the begining of the S's.  When I type the second letter, say an " I "
0
 

Author Comment

by:veeroy
Comment Utility
it will move through the S section to " SI " and so on. Any ideas how I can do this with out a lot of trouble.

thanks.

P.S. sorry about the split comment.
0
 
LVL 18

Expert Comment

by:arantius
Comment Utility
A modification of the page posted should do what you want:
It's rather much to paste here so check out: http://www.arantius.com/ee/select-autocomplete.html
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now