Refresh Typeahead Suggestions

var $name = $('#name');
var nameEntered = $name.typeahead('val');
$name.typeahead('val', '').typeahead('val', nameEntered);

This is great if you add an entry behind the scenes and then want it to show up in the list of suggestions without having to re-trigger the suggestion refresh manually.

Leave a comment