【发布时间】:2011-12-09 21:25:15
【问题描述】:
我有这个代码:
jQuery(document).ready(function($) {
$( "#tabs" ).tabs({
collapsible: true,
fx: { height: 'toggle', duration: 'fast'},
cookie: { expires: 30 }
});
});
我使用带有 cookie 集的 jQuery 选项卡。如果没有设置 cookie,我想隐藏标签。我安装了所需的 jquery.cookie 插件。
我的问题
如何检查标签 cookie 是否设置?
【问题讨论】:
标签: jquery cookies jquery-ui-tabs jquery-tabs jquery-cookie