為什么我在ie下彈出n多個(gè)框
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>鼠標(biāo)移開(kāi)事件 </title>
<script type="text/javascript">
? function message(){
??? alert("不要移開(kāi),點(diǎn)擊后進(jìn)行慕課網(wǎng)!"); }
</script>
</head>
<body>
<form>
? <a href="http://idcbgp.cn" onmouseout="message()">點(diǎn)擊我</a>
</form>
</body>
</html>
2016-10-26
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">//可以是瀏覽器兼容問(wèn)題,建議你用HTML5;用谷歌驗(yàn)證看看。
<title>鼠標(biāo)移開(kāi)事件 </title>
<script type="text/javascript">
? function message(){
??? alert("不要移開(kāi),點(diǎn)擊后進(jìn)行慕課網(wǎng)!");
?? }
</script>
</head>
<body>
<form>
? <a href="http://idcbgp.cn" onmouseout="message()">點(diǎn)擊我</a>
</form>
</body>
</html>
2017-02-09
我的也是用ie 結(jié)果跳出數(shù)十個(gè)框