Is there a javascript autocomplete library that does not depend on any other libraries?
I am not using jQuery or the likes as I am making a mobile app that I need to
The core of an autocomplete script will be the ajax call to the dictionary of terms.
I assume your mobile application already includes an ajax function, so maybe you're better off just writing your autocomplete from scratch? Basically all you need in an input tag, a keyup event handler that triggers the ajax call, and a div to collect the response.
[Update] Based on the comments, some references from John Resig's blog:
http://ejohn.org/blog/revised-javascript-dictionary-search/
http://ejohn.org/blog/jquery-livesearch/