为了账号安全,请及时绑定邮箱和手机立即绑定

为什么不能打开其他网页只能打开慕课的网页?

为什么不能打开其他网页只能打开慕课的网页?

<!DOCTYPE html><html> <head>  <title> new document </title>    <meta http-equiv="Content-Type" content="text/html; charset=gbk"/>     <script type="text/javascript">          function openWindow()   {       var res = confirm("要打开网页吗?");              if(res)       {           var _open;           _open = prompt("想打开那个网页","www.baidu.com");           window.open(_open,'_black','width=400,height=500,manubar=no,toolbar=no');}       }      </script>  </head>  <body>   <input type="button" value="新窗口打开网站" onclick="openWindow()" />  </body></html>
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1244 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号