摘要: 1.保存cookie var oDate = new Date(); oDate.setDate(oDate.getDate() + 30);//有效期为30天 document.cookie = "name=www.wzh.com;expires=" + oDate; 2.读取cookie var 阅读全文
posted @ 2016-02-07 13:36 lunawzh 阅读(4803) 评论(0) 推荐(0) 编辑