Local JSON file does not work with easyautocomplete

Viewed 162

How to connect a local JSON file correctly? And does EasyAutocomplete work with a local JSON file? For example, this code does not work:

var options = {
  url: "../Desktop/res/countries.json",
  getValue: "name",
};

$("#provider").easyAutocomplete(options);

All the other examples I used didn't work either.

0 Answers
Related