The typeahead example is referencing a file, typeahead_cities.json which doesn’t appear to be included in the demo files.
Could you either send me the file or paste it’s contents in this thread?
Please check it under “theme/demo” folder. All the server side demo scripts are located in this folder. This folder should have been included in your downloaded package.
I did check prior to contacting you; however, upon closer investigation into the included demo files, I did find a “city_names.json” file in the demo folder. The online example is referencing the incorrect file name.
If you browse to the URL I provided in my original post and open developer tools, you’ll see the typeahead_cities.json doesn’t exists (404 error). Updating the script to use city_names.json will fix your demo.
Love your work!
You must be logged in to reply to this topic.