Skip to main content

Dynamic AutoComplete/AutoSuggest textboxes in a Jsp page

1 reply [Last post]
kkccss
Offline
Joined: 2008-07-07
Points: 0

Hello,
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.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

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:

http://wiki.java.net/bin/view/Projects/jMakiComboxModel

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?

-Greg