This page shows an example of integrating an "AutoSuggest" feature, as provided by Nicholas C. Zakas at the
The website has a downloadable example. The example has a method that provides suggestions from a given list. (It works with IE and Firefox.)
To integrate it with Jaxcent, we simply modify the file suggestions1.js
and also provides a callback method
the Java code can call with the list of suggestions.
Following text is from the original website. However, here the suggestions are coming from the Java code at the server.
Type a state name into the textbox below. Make sure the state name begins with a capital letter. The best example is to type "Missouri" one letter at a time. You will get suggestions of "Maine", "Michigan", "Mississippi", and then finally "Missouri".
Try it for yourself: