I am using the easyautocomplete, http://easyautocomplete.com/, to populate a list or autocomplete in a search field. The code is as follows:
<input id="basics" />
var options = {
url:"https://bitbucket.org/Haris121/webdespatch/src/master/DispatchDivor/JSON/Address.json",
getValue: "name",
list: {
match: {
enabled: true
}
}
};
$("#basics").easyAutocomplete(options);
WARNING: Fail to load response data