标签:
javascript 获取cookies function getCookie(name)//取cookies函数 { var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)")); if (arr != null) return unescape(arr[2]); return null;
}
var xx = getCookie("user_id");
标签:
原文地址:http://www.cnblogs.com/zhubenxi/p/5158506.html