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

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

哪里出問題了呢 ? 幫一下

<!DOCTYPE html>
<html>
?<head>
? <title> new document </title> ?
? <meta http-equiv="Content-Type" content="text/html; charset=gbk"/>? ?
? <script type="text/javascript"> ?
? function openWindow(){????????????? //定義一個(gè)函數(shù)???????? ?
????? var sure=confirm("請(qǐng)問是否打開");?????????? //確認(rèn)框
????? if(sure==true){
?????? var home=prompt("請(qǐng)輸入您要打開的網(wǎng)址","");???????????????????? //輸入打開的網(wǎng)址
?????? window.open(home,"width=400px,height=500px","_blank","menubar=no,toolbar=no");??????????????????? //打開輸入的新窗口
?????? sure_one=confirm("是否關(guān)閉網(wǎng)址");?? ?
??????? if(home!=NULL){
??????????? home.close();
??????? }
????? }else{
???????? document.write("Thanks For You! ");
?????? }
????? }
? </script>
?</head>
?<body>
????? <input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />
?</body>
</html>

正在回答

3 回答

charset="utf-8"

?window.open(home,"_blank""width=400px,height=500px,menubar=no,toolbar=no");

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

charset=UTF-8 ?這樣就不會(huì)亂碼了

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

亂碼是嗎?

<head>下面加一句,

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

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

舉報(bào)

0/150
提交
取消

哪里出問題了呢 ? 幫一下

我要回答 關(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)