Has anyone tried building their own AJAX auto suggest text box with full keyboard support?
I've managed to create the auto suggest feature by connecting to a SQL DB and displaying results, but the only way to interact with the search results is through the mouse. I'm looking to be able to navigate up and down with the keyboard, use the enter key to select an item, and be redirected to the relevant page.
I've found plenty of resources on scrolling through HTML elements with the arrow keys, but nothing on integrating the enter key to select an item and redirect to a page.
I know there are auto suggest plugins available, but I've come this far in developing my own and I want to be able to customize the results instead of relying on someone else's work.
If anyone could steer me in the right direction, I would greatly appreciate it.
Cheers