jQuery cookie插件 - $ cookies未定义

Ben*_*and 5 cookies jquery plugins alert function

我已经四处寻找,没有其他解决方案符合我的问题.

我正在使用jQuery cookie插件在我的网站上实现显示/隐藏部分.

在本地测试站点时(使用WAMP),我的jQuery代码没有显示任何错误,但是一旦上传到我的站点,就会出现错误:

$.cookie is not a function
Run Code Online (Sandbox Code Playgroud)

我尝试了很多不同的解决方案,所以我认为它可能与我的网站上传到的服务器有关...

任何帮助表示赞赏

$.cookie("slider", "hidden");
alert($.cookie("slider"));
Run Code Online (Sandbox Code Playgroud)

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

Cha*_*ndu 1

我已经使用 firebug 打开了该网站,并且 jquery.cookie.js 出现 404 错误。确保将 jquery.cookie.js 文件复制到 jquery-1.4.4.js 和其他 js 文件所在的同一路径。