最后打開的頁面不行,看別人的差不多就是找不到錯在哪?有沒有大佬看一下的。function openWindow(){? ? ? var tt=confirm("是否打開?");? ? ? if (tt==true){? ? ? var web=prompt("請輸入網址","http://www.xianlaiwan.cn/");? ? ? window.open(web,'_blank','width=400px,height=500px,menubar=no,toolbar=no')? ? ??? ? ?}? }
第二章編程練習
hhahaha
2018-04-24 16:33:17