标签:
<script type="text/javascript" src="/UI.Web.CRM.Main/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="/UI.Web.CRM.Main/js/jquery.cookie.js"></script>
$.cookie(‘the_cookie‘); // 读取 cookie
$.cookie(‘the_cookie‘, ‘the_value‘); // 存储 cookie
$.cookie(‘the_cookie‘, ‘the_value‘, { expires: 7 }); // 存储一个带7天期限的 cookie
$.cookie(‘the_cookie‘, ‘‘, { expires: -1 }); // 删除 cookie
标签:
原文地址:http://www.cnblogs.com/foreverfendou/p/5490302.html