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

為了賬號安全,請及時綁定郵箱和手機立即綁定

document對象 文檔輸入輸出問題

為什么頁面跳轉(zhuǎn)不過去?哪里錯了,求指教


<script language="javascript">

<!--

? ? ? function newopen(){

? ? ? var dw=window.open();

? ? ?dw.document.open();

? dw.document.write("<html><head><title>一個新的頁面</title>");

dw.document.write("<script language='javascript'>");

dw.document.write("function woc(){document.write('笑笑');}");

dw.document.write("</script></head>");

dw.document.write("<body>");

dw.document.write("<img src='image/mmexport1427618752278.jpg'><br/>");

dw.document.write("這里是寫入的新內(nèi)容<br/>");

dw.document.write("<input type='text'/>");

dw.document.write("</body></html>");

dw.document.close();

}

-->

<body>


<input type="button" value="打開一個新文檔" onClick="newopen();" />


</body>


正在回答

1 回答

js代碼沒有閉合,這么多內(nèi)容是要實現(xiàn)什么啊。好亂

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

一墨飛雪 提問者

用document文檔的輸入輸出構(gòu)造出一個頁面,非常感謝
2016-04-24 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

document對象 文檔輸入輸出問題

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

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

幫助反饋 APP下載

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

公眾號

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