<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
时间: 2024-11-10 07:17:07