Is jquery.cookie.js compatible with jquery-1.10.1 version? I get the following error:
Object function (e,t){return new x.fn.init(e,t,r)} has no method 'cookie'
Though I checked the below links -
Error: $.cookie is not a function
jQuery $.cookie is not a function
none helped to solve the issue. Is there any site from where I will get details about jquery.cookie.js compatibility with JQuery versions? Appreciate suggestions.Thanks in advance.
Works fine for me with the latest version of $.cookie
+ jQuery 1.10.1
:
$.cookie('foo', true);
console.log($.cookie('foo'));