摘要: 参考:http://www.cnblogs.com/fsjohnhuang/p/4147810.html 阅读全文
posted @ 2016-12-19 18:14 全玉 阅读(438) 评论(0) 推荐(0) 编辑
摘要: var Cookie = { get:function(key){ var reg = new RegExp('(?:^| )' + key + '=([^;]+)(?=;|$)','gi'); return (result = document.cookie.match(reg)) == null ? null : decodeURIComponent(... 阅读全文
posted @ 2016-12-19 17:28 全玉 阅读(456) 评论(0) 推荐(0) 编辑