window對(duì)象:打不開新網(wǎng)頁,求解釋
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>window對(duì)象</title>
<script type="text/javascript">
function push(){
? ? alert("歡迎來到慕課網(wǎng)");
? ? window.open("http://idcbgp.cn/","_blank","width=600,height=400");
}
</script>
</head>
<body>
<form>
<input type="button" value="點(diǎn)擊我,打開新窗口" onclick="push()" />
</form>
</body>
</html>
2016-04-17
你在復(fù)制到DW環(huán)境里再執(zhí)行看看,我的直接在這個(gè)課程上也打不開
2022-03-26
我知道了寫#是因?yàn)榍懊鎸懙氖莍d不知道問題怎么刪除我的也是我的firefox也是
2016-04-12
window.open("http://idcbgp.cn/" , "_blank","width=600" ,"height=400");
2016-04-12
我打開了,你用的什么瀏覽器