cookie的设值和取值
取cookiefunction getCookie(name) { //取得cookie var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)")); if(arr != null) { return unescape(arr[2]); } return nul...