Typeahead ajax autocomplete is not working -
i trying make typeahead autocomplete ajax data, it's not working. this code. html <input type="search" class="typeahead" id="order_address" autocomplete="off"> javascript $(document).ready(function() { var suggestions = new bloodhound({ remote: { url: 'https://autocomplete.geocoder.api.here.com/6.2/suggest.json?app_id=...app_code=...&country=usa&mapview=41.382995,-74.301616;41.305715,-74.092278&query=%query%', wildcard: '%query%', filter: function (response) { return response.suggestions; } }, datumtokenizer: function(suggestions) { return bloodhound.tokenizers.whitespace(suggestions); }, querytokenizer: bloodhound.tokenizers.whitespace, }); $('#order_address').typeahead({ hint: true, highlight: true, minlength: 1 }, { name: 'suggestions', displaykey: funct...