PDA

View Full Version : combo (drop-down) search?


stuartc1
01-21-2004, 10:37 AM
Hi everyone,

Im new here, it's looking like a good active forum :) I look forward to talking with you all.

Now for my question :thumbsup:

I have a basic HTML combo (drop-down) box with around 300 items listed by number... for example 1-300. It's part of out intranet and many of the users like to use the key search function available to most desktop applications. So say they wish to select number 213 they want to be able to select the drop-down and type 213...... this is when the problems start. When they type 2 it takes them to 200, then they hit the 1 key and it takes them to 1. They dont what this to happen... they want it the second character they type to be the second character in the currently select item. I hope you know what im getting at.

Anyone know if this is possible with javascript? and any ideas on how to incorporate something like this?

Thank to anyone that can help

stuartc1

Choopernickel
01-21-2004, 02:08 PM
You're probably looking for something like this:
http://www.codingforums.com/showthread.php?s=&threadid=9865

Read the whole thread (3 pages or so) before you decide which version to implement.

stuartc1
01-22-2004, 09:57 AM
fantastic.... i can't wait to get my hand on it.

thanks Choopernickel

stuartc1