Making $ globally accessible with jQuery.noConflict()

You don’t need $ = jQuery.noConflict();

Just wrap any functions outside document.ready() within:

(function($){  
  // use $ here safely
})(jQuery);

Leave a Comment

tech