It is often helpful to use an autocompleter on your website. Perhaps in search dialogs? An example is google on an extra search page.
I tested some free tools, but I had always the problem that there was no possibility to use two or more autocompleter on one page and to organize the dependency. E.g. insert a name of a country in the first textbox and in the second textbox insert a name of a city. On the city textbox you only want to see cities belonging to the inserted country – no other cities.
This problem was the reason why I developed my own autocompleter using xajax. This framework allows me to respond on the key events and select the values from the database. I could write my own functions and use any parameters.
I generated a textbox with a hidden div below which is calling a function on the onkeyup event by using xajax. In this test I mark the searched string with a span and on CSS I colored it blue. Additional I added a mouseover using CSS.
added: 08/11/2009
clicks: 1419
That’s all!

February 7th, 2009 at 7:03 pm
nice ac system !
February 8th, 2009 at 7:14 pm
Your work is quite amazing!
February 10th, 2009 at 12:05 pm
Pushing the “down”-button to select an entry breaks it on Opera (displays “Schwedeneck” – don’t really know why).
February 10th, 2009 at 1:18 pm
I tested it with Opera 9.51 and it works
February 17th, 2009 at 11:14 am
Oeehhh!!
You deserve a kiss on the buttcheek! ;)
Very nice system!
Best free autocomplete system on the net.
June 17th, 2009 at 8:33 pm
Wie kann ich dem Array eigene Werte wie z.B MySQL Ergebnisse zuweisen?
Wenn ich das Ergebniss-Array einfach übertrage funktioniert es nicht, bitte um hilfe :).
July 4th, 2009 at 9:24 am
A wonderful article…. In my life, I have never seen a man be so selfless in helping others around him to get along and get working. I feel good that there are people like you too. Thanks for this great weblog of yours. Its surely going to get me to go to higher places!
July 19th, 2009 at 12:07 pm
I didnt test it but it looks like a good AC. Exi, why dont you use the http://script.aculo.us/ (prototype) Framework? It’s an amazing good framework for almost everything, even AutoCompleter. The only problem is that they only give you the JS part, not the Server side (PHP) side.
September 29th, 2009 at 2:36 pm
Under which license is Autocompleter published?
October 1st, 2009 at 5:54 pm
@Gerald:
GPL (General Public License)
October 1st, 2009 at 11:13 pm
Okay, many thanks :-)
April 9th, 2010 at 5:48 am
what’s your name? bmx