By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 1,871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

scrolling on DIV element using html_ajax

P: 6
Hi ,

I am new to html_ajax which is part of PEAR package.

I have created a demo on html_ajax. Demo is when the user types text in a text field, it would display the relevant matching words and display as drop down list.. as like google suggest.

when the user mouse over the div elements (that is list of words shown as drop down list) , it will highlight the word in blue color. The user can select the word also using mouse..

what i need to do is when i press "UP or DOWN " arrow key , i should be able to scroll the words and select a word using the arrow key as like i am doing with mouse.

currently i cannot do anything with the arrow keys.

I would be grateful if anybody could give me a solution as soon as possible.

Thanks in advance.

Regards,
BR.
Jul 6 '07 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
See the onkey... events on this page.
Jul 6 '07 #2

P: 6
Hi

Thank you so much for the prompt response.

regards,
ragu
Jul 13 '07 #3

acoder
Expert Mod 15k+
P: 16,027
You're welcome.
Jul 14 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.