Reputation: 21
Please help me i have lost 1.5 days trying to fix this, i have looked for various solutions on the internet and none seems to work,atleast for me.I have been using
jQuery.noConflict();
var $j = jQuery;
to avoid jquery conflicting with other libraries successfully, but now it wont work with prototype.I am pulling hairs and getting very annoyed at this.Someone out there please help. You are a God to me and your help is very much appreciated.
Upvotes: 2
Views: 377
Reputation: 8699
Wrap all of your jQuery with this:
(function($){
})(jQuery);
And you also need to have jQuery.noConflict() outside of that code.
Upvotes: 2