<html>
<script>
function test(obj){
var t = document.getElementById("t");
alert(t === obj);
}
</script>
<body>
<input id="t" type="text" onclick="test(this);"/>
</body>
</html>
我在安装了瑞星杀毒软件后,就弹出false了,之前是true,用的是ie8。
我是在使用jquery的index方法时发现的这个问题,请大神们赐教javascript