jQuery cookie plugin - $cookies is not defined

I have searched around and no other solution fits my problem.

I am using the jQuery cookie plugin to implement a show/hide section on my site.

When testing the site locally (using WAMP) my jQuery code shows no errors, yet once it's uploaded to my site, an error saying:

$.cookie is not a function

I have tried many different solutions so am thinking it might be something with the server my website is uploading to...

Any help is appreciated

$.cookie("slider", "hidden");
alert($.cookie("slider"));

www.visio-design.co.uk/dpgd/index.php

5
задан Ben Holland 24 January 2011 в 22:08
поделиться