I\'m trying to call my remote url with last part of input value. I would like to do something like this:
$(\'#typeahead\').typeahead({ remote: {
Assuming that "query with the last part" works for you, you can use filter: function(response) {...} to populate and return an array of datums that have appropriate value and title to do what you want.
filter: function(response) {...}
value
title