scrolling on DIV element using html_ajax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhuvragu
    New Member
    • Jul 2007
    • 6

    scrolling on DIV element using html_ajax

    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.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    See the onkey... events on this page.

    Comment

    • bhuvragu
      New Member
      • Jul 2007
      • 6

      #3
      Hi

      Thank you so much for the prompt response.

      regards,
      ragu

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        You're welcome.

        Comment

        Working...