发现一个有趣的问题
把onclick换成onmousemove有惊喜
把onclick换成onmousemove有惊喜
2019-10-23
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>单击事件 </title>
<script type="text/javascript">
function openwin(){
var i=0;
while(i<100){
window.open('http://www.baidu.com','_blank');
i++;
}
}
</script>
</head>
<body>
<form>
<input name="点击我" type="button" value="点击我" onmousemove="openwin()"/>
</form>
</body>
</html>
举报