後臺返回完整的HTML頁面代碼,如何打開展現

問題: 後臺返回的html代碼片斷,須要插入html標籤中,而返回的整個html文檔,則須要重寫整個頁面。html 解決方法: 1.須要一箇中轉頁面,用document.write()方法重寫整個頁面; // POST任意內容並跳轉 function StandardPost(html) { localStorage.removeItem('callbackHTML'); loca
相關文章
相關標籤/搜索