cookie and subcookie utilty in javascript
摘要:
//cookie util 1 var CookieUtil = { 2 3 get: function (name) { 4 var cookieName = encodeURIComponent(name) + "=", 5 cookieStart = document.cookie.indexOf(cookieName), 6 cookieValue = null; 7 8 if (cookieStart > -1) { 9 ... 阅读全文
posted @ 2013-05-19 12:45 雷音 阅读(197) 评论(0) 推荐(0) 编辑