TonyTone1
asked on
Scriptaculous Autocomplete trigger search without typing
Hi I am using Scriptaculous' Autocompleter. I want the autocomplete text box to also act like a drop down. So right now when i type something it displays a list of matches (suggestions) and i can cursor down to select whatever i see fit. I want to be able to click on the text box and display the FULL list of results without having to type in some text first.
Anyone know how?
Anyone know how?
You just need to create a function that triggers your element onFocus of the text input. Then all you have to do is pre-populate your autocomplete element with everything you want the user to see if it's blank.
ASKER
Yes, I understand the theory, I was looking as to something more practicle, like a code sample.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin