js使用cookie存值和取值
cookie中存值:function setCookie (name, value) { if (value) { var Days = 365 var exp = new Date() exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000) document.cookie = name + '=' ...