javascript 操作Cookie
摘要:
//获得coolie 的值function cookie(name) { var cookieArray = document.cookie.split("; "); //得到分割的cookie名值对 var cookie = new Object(); for (var i = 0; i < cookieArray.length; i++) { var arr = cookieArray[i].split("="); //将名和值分开 if (arr[0] == name) return unescape(arr[1]);... 阅读全文
posted @ 2013-01-07 11:20 曹永思 阅读(169) 评论(0) 推荐(0) 编辑