I am trying to use the JQuery cookie plugin in my project but I'm running into some trouble. Because I need to use the prototype library along with the JQuery library I used the JQuery.noConflict()
method to assign $j as the JQuery alias. Unfortunately, even once I have loaded jquery.cookie.js into my page, $j.cookie('name','value')
returns
Uncaught TypeError: Object function (selector, context){
//The JQuery object is actually just the init constructor 'enhanced'
return new JQuery.fn.init(selector,context);
} has no method 'cookie'