幫我看一下我哪里錯了 為什么不能彈出窗口
?<script?type="text/javascript">?? ????function?openWindow(){ ???????var?a=confrim("open?or?not"); ???????if(a==true){ ???????????var?b=prompt("open?or?not","http://idcbgp.cn"); ???????} ???????else{ ???????????return; ???????} ???????if(b?!=null){ ???????????window.open(b,'_blank','windth=400,height=500,menubar=no,toolbar=no') ???????} ???????else{ ???????????return; ???????} ????????} ???? ???? ??</script>
2015-02-02
少俠 ?不是confrim ?是confirm
2015-02-10
confirm ?你寫成confri了。
2015-02-03
任務(wù)要求的是通過對話框輸入網(wǎng)址的吧,所以應(yīng)該用prompt消息對話框來完成任務(wù)。