GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes Regarding AJAX autocomplete box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Regarding AJAX autocomplete box" Watch "Regarding AJAX autocomplete box" New topic
Author

Regarding AJAX autocomplete box

Ashutosh Arya
Ranch Hand

Joined: Oct 07, 2008
Posts: 69
Hi,

I have implemented an autocomplete box but I am not able to navigate through the suggestions on pressing arrow keys.

Can anyone give an example js function so that I can do it.

One more thing is that I am not able to overlay the suggestions over other HTML elements, tried z-index but its not working.Please help.

Waiting eagerly for a reply,

Thanks in advance,

Aashu
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this.

This post has been moved to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Since we have no idea how your code works, all we can do is guess.

Eric
Ashutosh Arya
Ranch Hand

Joined: Oct 07, 2008
Posts: 69
Hi Eric,

It will be a great help, if you post a link where I can get example code for navigating through a table of AutoComplete AJAX Box.

I am simply placing the elements of XML in <tr><td> rows of a dynamically made table.Just want to navigate through them with arrow keys.

Thanks in Advance..

Aashu
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Reason you are not just using code that already exists?

Eric
 
GeeCON Prague 2014
 
subject: Regarding AJAX autocomplete box