Twitter bootstrap typeahead is a simple simple autocompletion library, but it is well documented in official website. Here are more materials from internet.
A simple example for newbie: Twitter Bootstrap typeaheads tutorial
Getting more from Twitter Bootstrap’s Typeahead library
Using Ajax: a very good stack overflow post, and ajax-typeahead, enable Bootstrap Typeahead plugin with Ajax.
Bootstrap typeahead examples, and heavily customizing examples