The quotes $(‘input#city_name_field’) --> ’ has to be replaced with normal quotes '.
Error in the Syntax (url has to be replaced with ajax):
Wrong: $(‘input#city_name_field’).quickselect({url:‘/ajax/cities.json’});
Right: $(‘input#city_name_field’).quickselect({ajax:‘/ajax/cities.json’});
The quotes $(‘input#city_name_field’) --> ’ has to be replaced with normal quotes '.
Error in the Syntax (url has to be replaced with ajax): Wrong: $(‘input#city_name_field’).quickselect({url:‘/ajax/cities.json’}); Right: $(‘input#city_name_field’).quickselect({ajax:‘/ajax/cities.json’});