第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

請(qǐng)問各位大佬為什么不能跳轉(zhuǎn)到網(wǎng)站頁(yè)面?

<!DOCTYPE html>

<html>

<head>

<title> new document </title> ?

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> ??

<script type="text/javascript"> ?

function openWindow(){

? ?var miss=confirm("是否確定");

? ?if(miss==ture){

? ? ? ?var zz=prompt("輸入網(wǎng)站","http://idcbgp.cn/");

? ? ? ?if(zz!=null){

? ? ? ? ? ?window.open("http://idcbgp.cn/","_blank","width:400px,height:500px");

? ? ? ?}

? ? ? ?else

? ? ? ?{

? ? ? ? alert("網(wǎng)址不存在");

? ? ? ?}

}?

else

? ?{

? ? ? ?alert("再見");

? ?}

}

</script>?

</head>?

<body>?

<input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />?

</body>

</html>


正在回答

2 回答

??if(miss==ture)? 這是true,輸入有誤,其他的都對(duì)的。

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

穿梭著拾光 提問者

感謝感謝
2018-09-07 回復(fù) 有任何疑惑可以回復(fù)我~
#2

慕神526494

???
2018-09-11 回復(fù) 有任何疑惑可以回復(fù)我~
if(miss==ture){}??//此處應(yīng)為true
window.open("http://idcbgp.cn/","_blank","width:400px,height:500px");
//這里的屬性值應(yīng)該使用單括號(hào)
嗯,應(yīng)該就沒錯(cuò)了


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

請(qǐng)問各位大佬為什么不能跳轉(zhuǎn)到網(wǎng)站頁(yè)面?

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)