码迷,mamicode.com
首页 > Web开发 > 详细

jquery判断cookie是否存在

时间:2014-08-20 17:55:02      阅读:1471      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   os   io   ar   cti   

 

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://files.cnblogs.com/afish/jquery.cookie.js"></script>
<script>
$(document).ready(function(){
    if($.cookie(".DottextCookie")!=null){
        $("#mynotice").append(‘<a href="http://i.cnblogs.com/EditPosts.aspx?opt=1" target="_blank">写文章</a><br />‘);
    };
});
</script>

 

jquery判断cookie是否存在,布布扣,bubuko.com

jquery判断cookie是否存在

标签:style   blog   http   color   os   io   ar   cti   

原文地址:http://www.cnblogs.com/afish/p/3925149.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!