A 3 year old question, but since it came in 2nd place in Google's results for "the best jquery-ui autocomplete alternative." I find it worth posting a link here for implementing Typeahead Twitter: http://twitter.imtqy.com/typeahead.js/
A little annoying is that you might need a Hogan template engine to get it working (adding a few more kb to download), but if you take the time to read documents, it will be worth it.
I replaced the jQuery user interface implementation for finding a location 30 minutes after viewing the documents using the (simplified) code structure below:
$('.location_text_field').typeahead({ name : 'locations', remote : { url : "/get_locations.php", filter : function (response) { return response.locations; } }, template : '<p>{{{label}}}</p>', engine : Hogan }).on({
... and it works like a charm.
source share