Saturday, August 25, 2012

JQUERY Cookie TypeError

Error:

TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method 'cookie'

The error is simply because, the jquery cookie file has not been added.

 To add just download the jquery.cookie.js at github

 Then add the jquery.cookie.js

<script src="./jquery.cookie.js"></script>

No comments:

Post a Comment