<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.test{width:300px;
height:250px;
background-color:#CCC;
}
</style>
</head><body>
<div id="" class="test" onmousemove="alert('onmousemove');" >Test</div>
</body>
</html>
上面的代码如果把鼠标一开始就放在DIV上面,然后刷新页面,在IE下面会不断弹出窗口,是一个死循环。
火狐则没有任何动作发生,但是稍微移动一下鼠标,便会弹出2个窗口,有谁知道这是为什么吗???