課程
/前端開發
/JavaScript
/JavaScript進階篇
window.location.href為什么不換成window.open?不是可以直接打開網頁嗎?window.location.href不是分析網址的意思嗎?
2016-03-02
源自:JavaScript進階篇 8-17
正在回答
其實差不多
123
張威1992 提問者
舉報
本課程從如何插入JS代碼開始,帶您進入網頁動態交互世界
3 回答window.location.href = "http://www.xianlaiwan.cn/"這句可以換成window.open(window.location.href = "http://www.xianlaiwan.cn/";)嗎?
1 回答window.location.href打開的連接與window.open()打開的有什么區別?
2 回答setTimeout定時調用window.open打開網頁打不開?
1 回答問一個問題,就是打開一個新的地址為什么用window.open()不可以??
4 回答為什么直接x.firstChild不可以?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-03-02
其實差不多
2016-03-02
123