jquery. cookie. JS operation is good

From , 4 Years ago, written in JavaScript, viewed 53 times.
URL https://pastebin.vip/view/98cac9d3
  1. <script src="jQuery.1.8.3.js" type="text/javascript"></script>
  2. <script src="jquery.cookie.js" type="text/javascript"></script>
  3.  
  4.  
  5. 设置
  6. $.cookie('the_cookie', 'the_value', { expires: 7 });
  7.  
  8. 读取
  9. $.cookie('the_cookie');  没有的话,返回NULL

Reply to "jquery. cookie. JS operation is good"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website