360浏览器的问题
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<script type="text/javascript">
function SetCookie(sName, sValue){
alert(navigator.cookieEnabled);
document.cookie="userId="+escape(sName) ;
document.cookie="userName="+escape(sValue) ;
if (document.cookie==null) alert("cookie is null");
else {
var arrStr=unescape(document.cookie).split(";");
alert(arrStr.length);
alert(arrStr[0].split("=")[1]);
}
}
</script>
<body>
<input type="button" value="添加cookie" onClick="SetCookie('liuer','honey')">
</body>
</html>
在ie,ff中能取到值,但是在
360浏览器中取不到值,请各位高手帮帮忙