bootstrap-ajax-typeahead
bootstrap-ajax-typeahead copied to clipboard
Made the url option more versatile
So I needed a way to have the query as part of the URI and not as get params on the end
eg. "search/for/part" + query;
now the url option can be a function which has the query as a param
url: function (query) { return "search/for/part" + query; }
I was looking around to see if someone had tackled this already, thanks.