- 15.02.2015 8:17
- ← Назад к списку
TypeError: $ is not a function
Как вариант решение проблемы:
(function($){ // jQuery code is in here })(jQuery); // или если Вы хотели использовать следующий код $(document).ready(function(){ // jQuery code is in here }); // можно написать так jQuery(document).ready(function($){ //you can now use $ as your jQuery object. });
Теги: