以下のステートメントを使用して、page1 の [次へ] ボタンから page2 に移動しました。
document.location.pathname = "page2.html";
ホームボタン FROM PAGE2 をクリックして Page1(document.location.pathname = "PAGE1.html";) に戻りました。そして、page1(私のホームページ) が読み込まれました。 page2 AGAIN に移動できません。
以下のステートメントを使用して、page1 の [次へ] ボタンから page2 に移動しました。
document.location.pathname = "page2.html";
ホームボタン FROM PAGE2 をクリックして Page1(document.location.pathname = "PAGE1.html";) に戻りました。そして、page1(私のホームページ) が読み込まれました。 page2 AGAIN に移動できません。