I'm having a problem with a filter selector, when I choose a city to filter information about it, the browser console shows me the error below. I can not tell which version of Jquery is being used on the site, I'm dropping parachute in the world of js rs.
In localhost with jquery 2 it worked perfectly, after I went up to the server, started to give this error and stopped working the filter.
Jquery used on the site: link
Custom js custom code link
Uncaught TypeError: $ is not a function at HTMLSelectElement.filterList (custom.js: 3)
Code
$('select[name="list_citys"]').change(filterList); 3 ª linha
function filterList(e) {
var value = e.target.value;
$(".list_citys_shop .new-citys").parent().parent().removeClass("hidden");
if (value == "all_city") $(".list_citys_shop .new-citys").slideDown();
else {
$(".list_citys_shop .new-citys").slideUp();
$(".list_citys_shop ul:not([data-category*=" + value + "])").parent().addClass("hidden");
$(".list_citys_shop ul[data-category*=" + value + "]").find(".new-citys").stop().slideDown();
}
}