Hello!!
I picked up an auto-complete script somewhere, and what it does basically is search in a long list to match what the user is typing. I found that my users are having a hard time using it as is, because it doesn't show you what item in the list it's thinking about, but rather lets you keep typing and then sort of blurts out the rest when a unique match is made. Many users keep on typing and enter wrong values. Instead of using a validation, I'd like to build up on the script so that it uses the keystrokes to find in the list and retrieves the entire item, highlighting what's behind the cursor. Sort of the way a nice auto-complete box would do (like Internet Explorer in its address box). Is anyone up for helping me touch up the code to do this? Is it at all possible?
Thanks very much!! I'm attaching the code...
Natalia
I picked up an auto-complete script somewhere, and what it does basically is search in a long list to match what the user is typing. I found that my users are having a hard time using it as is, because it doesn't show you what item in the list it's thinking about, but rather lets you keep typing and then sort of blurts out the rest when a unique match is made. Many users keep on typing and enter wrong values. Instead of using a validation, I'd like to build up on the script so that it uses the keystrokes to find in the list and retrieves the entire item, highlighting what's behind the cursor. Sort of the way a nice auto-complete box would do (like Internet Explorer in its address box). Is anyone up for helping me touch up the code to do this? Is it at all possible?
Thanks very much!! I'm attaching the code...
Natalia