為什么無論我輸入別的什么網(wǎng)址,都彈出的404頁面??
<script?type="text/javascript">?? ????function?openWindow(){ ????var?a?=?confirm("確定打開新串口么"); ????if(a==true){ ????????window.open(prompt("要打開的網(wǎng)址:"???,"idcbgp.cn/learn/36"),'_blank','width=400px,height=500px,menubar=no,toolbar=no'); ????}else{ ????????alert("再見");? ????} ????//?新窗口打開時(shí)彈出確認(rèn)框,是否打開 ????//?通過輸入對(duì)話框,確定打開的網(wǎng)址,默認(rèn)為?http://idcbgp.cn/ ????//打開的窗口要求,寬400像素,高500像素,無菜單欄、無工具欄。 ???? ????} ??</script>