點(diǎn)擊按鈕不能打開網(wǎng)頁(yè)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>window對(duì)象</title>
<script type="text/javascript">
function Wopen()
{
? ? ?window.open('http://idcbgp.cn','_blank','height=600,width=400,top=100');
}
</script>
</head>
<body>
<form>
<input type="button" value="點(diǎn)擊我,打開新窗口" onClick="Wopen()" />
</form>
</body>
</html>
2016-06-24
我也打不開
2016-06-14
我也打不開
2016-05-13
你把?onClick="Wopen()" 改成?onclick="Wopen()" 在試一下看
2016-05-13
我復(fù)制你的代碼都可以打開啊 ,你換個(gè)瀏覽器打開試一試,有可能是瀏覽器的問(wèn)題