点按钮时,左下角显示网页有错怎么回事
<script type="text/javascript" > function openWindon(){ if(confirm=("确定打开新窗口吗?")){ var ur=prompt("请输入一个新窗口","http.//www.imooc.com/"); window.open(ur,"_red",'menubar=no,toolbar=no,srollbar=yes,width=400,height=400') } } </script> </head> <body> <input type="button" value="新窗口打开确认按钮" onclick="openWindon()"/> </body>