js实现cookie的存取值方式
/** * cookie中存值 * */function setCookie (name, value) { if (value) { var days = 1; //定义一天 var exp = new Date(); exp.setTime(exp.getTime() + days * 24 * 60 * 60 * 1000); // 写入Cookie, toGMTStrin...