【发布时间】:2013-08-08 23:44:58
【问题描述】:
当点击元素h4 时,我想.toggle() .mChatBodyFix 但我想将$.cookie 切换为yes 或no
$('.cat h4').not('.mChatOpts span').click(function(){
$('.mChatBodyFix').toggle();
$.cookie('chat', 'yes', {expires:1});
});
【问题讨论】:
标签: jquery jquery-cookie