為什么加了一個(gè)就用不了了?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
? function Wopen(){
? ? ? window.open('http://idcbgp.cn','_blank','width=600,height=400,top=100,left=0')
? }
?function open(){
? ? ? window.open('http://www.baidu.com','_blank','width=600,height=400,top=100,left=0')
? }
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點(diǎn)擊我,打開新窗口!" / ><br/>
? ? <input name="button" type="button" onClick="open()" value="打開新窗口!" / >
</body>
</html>
2020-08-03
2020-08-07
Wopen和open也不一樣啊
難道相似都不行
把一個(gè)換成apple試了一下就可以