私は、ドキュメントへの書き込みに問題があります。ドキュメントの書き込みやオープン
NewWindow.document.write("Hi, this is test");
NewWindow = window.open("pages/Example.html","_self");
とページ空白です。私が使用している場合
NewWindow.document.write("Hi, this is test");
NewWindow = window.open("pages/Example.html","displayWindow");
私は現在のページの内容を書き換えたい。
var NewWindow = window.open("pages/Example.html","_self");
NewWindow.document.write("Hi, this is test");
私はオブジェクトウィンドウを作成し、彼に書き込み、次に表示します。
コンソールを確認してください。 – Script47