jQuery饼干不工作! [英] jQuery cookies not working !
本文介绍了jQuery饼干不工作!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个大问题,jQuery cookies不工作在所有浏览器..
和我使用最新的jQuery库版本1.4.4
I have a big problem, jQuery cookies not working in all browsers.. And I'm using latest jQuery library version 1.4.4
请帮助我
编辑:
var mid = $.cookie('mid');
if (mid == '1') {
$('#something').css('background', '#d3d3d3');
}
推荐答案
>
Some ideas:
- Try checking the error console for errors (on Firefox, Ctrl+Shift+J, or F12 for firebug).
- Make sure you the cookie plugin is included in the page properly.
这篇关于jQuery饼干不工作!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文