设置和获取cookie
摘要:
function setCookie(name,value){ document.cookie = name + "=" + encodeURI(value);}function getCookie(name){ var str = document.cookie; if(!str || str.i... 阅读全文
posted @ 2014-12-26 21:08 笨'小孩 阅读(178) 评论(0) 推荐(0) 编辑