這段代碼哪里有問題呢?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>鼠標移開事件 </title>
<script type="text/javascript">
? function message(){
? ? alert("不要移開,點擊后進行慕課網(wǎng)!");?
? ? }
? ??
? function newpage(){
? ? var newlinl=window.open("http://www.hao123.com" "_blank" "width=500px,height=400px")
? ? }
</script>
</head>
<body>
? <input type="button" value="hao123" title="點擊進入hao123" ? onclick="newpage()">
? <form>
? ? <br />
? ? <a href="http://idcbgp.cn" onmouseout="message()">點擊我</a>
? </form>
</body>
</html>
2016-07-05
2016-07-05
<title>鼠標移開事件 </title>
<script type="text/javascript">
? function message(){
? ? alert("不要移開,點擊后進行慕課網(wǎng)!");?
? ? }?
? function newpage(){
? ? ?window.open('http://www.hao123.com' , '_blank' , 'height=500,width=400');
}
</script>
</head>
<body>
<input type="button" value="hao123" onclick="newpage()"/>
?<form>
? ? <br />
? ? <a href="http://idcbgp.cn" onmouseout="message()">點擊我</a>
? </form>
</body>
</html>