Conflicts with jQuery $ function

Prevent a $ function for jQuery from conflicting with some other use of the global $ function:

(function($) {
    // Within this block, $ is a reference to jQuery
})(jQuery);

Leave a Reply