I’m creating a website to start to learn coding and am making an search website with a search autocomplete. The script is here.
This works great ( it really is a great and easy script for a jquery and coding beginner!)
but when the suggestions pop up, I’d like to be able to control them by moving up/down on my keyboard like Google’s. How can I achieve this ( I know just the barest of bare bones about jquery 🙂
Super thanks for all help!
Maybe consider using the autocomplete of jQuerys own jQuery-UI library:
http://jqueryui.com/demos/autocomplete/
It has keyboard controls per default.
You could use your PHP script from the solution you posted, if you modify it like this:
see http://jqueryui.com/demos/autocomplete/#remote for more details