为什么IE9下onmouseover里面对状态栏windows.status修改不能成功?
测试代码:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<a href="http://www.google.com" onmouseover="window.status='Welcome';return true;">www.google.com</a> <form id="form1" runat="server" >
<div>
</div>
</form>
</script>
</body>
</html>
测试代码:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<a href="http://www.google.com" onmouseover="window.status='Welcome';return true;">www.google.com</a> <form id="form1" runat="server" >
<div>
</div>
</form>
</script>
</body>
</html>
这个是不是多余了,你去掉试试看。
我在安全里面已经勾选了可以允许通过脚本修改状态栏,奇怪的是IE7和IE8有效的,IE9就是不行