摘要: 收藏着,网上有一些的写的很不靠谱。function setCookie(name,value){ // 30DAYS var Days = 30; var exp = new Date(); //new Date("December 31, 9998"); exp.setTime(exp.getTime() + Days*24*60*60*1000); document.cookie = name + "="+ escape(value) +";expires="+ exp.toGMTString();}function getCoo 阅读全文
posted @ 2012-02-23 13:54 noevil 阅读(189) 评论(0) 推荐(0) 编辑