Why $ for jquery doesn’t work?

Use closure for your scripts:

(function($){
    $(document).ready(function() {
        // do something...
    });
})(jQuery);

It is safe way to use jQuery.

Leave a Comment