Skip to main content

Dynamic AutoComplete/AutoSuggest textboxes in a Jsp page

1 reply [Last post]
Joined: 2008-07-07

Please suggest how to generate and implement the autocomplete textboxes dynamically on button click and access data(suggestions in autocomplete textbox) in it through database table.

Thank you.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-07-31

There are two widgets that do what you like:

They are :

The yahoo.autocomplete

And scriptaculous.autocomplete.

I would suggest using the yahoo one sine we have done more work on allowing you to modify the data based on a service.

The way to get data via a service or inline is described here:

As for reading from the database I'll need a little more time to put together an example.

What platform (JSP / PHP / Ruby) are you using?