Hi all,
I'm creating an autosuggestion input box.
The only thing left I need to do is to implement the up/down arrow functionality (when the user presses the down arrow key it starts to cycle through the suggestion list).
My autosuggestion list is populated using a seperate DIV for each suggestion returned.
What I am stuck on is how to identify and select the various suggestions on each onUpArrow or onDownArrow (or what ever they called!) event.
How do I make it think that one of these rows is in a mouse over state using the arrow keys instead of the mouse?
thats the bit I can't fathom.
Can anyone help?
Thanks
BN
I'm creating an autosuggestion input box.
The only thing left I need to do is to implement the up/down arrow functionality (when the user presses the down arrow key it starts to cycle through the suggestion list).
My autosuggestion list is populated using a seperate DIV for each suggestion returned.
What I am stuck on is how to identify and select the various suggestions on each onUpArrow or onDownArrow (or what ever they called!) event.
How do I make it think that one of these rows is in a mouse over state using the arrow keys instead of the mouse?
thats the bit I can't fathom.
Can anyone help?
Thanks
BN