Jquery Error: Uncaught TypeError: $ is not a function

jQuery(document).ready(function($){ //you can now use $ as your jQuery object. });
Replace '$(document).ready(function(){' with this snippet

1 Response

(function($) {
//dom ready / on
})(jQuery);

/

$(function() {
//dom ready / on
})

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.