gpt4 book ai didi

javascript - 在同一模式窗口中打开链接

转载 作者:行者123 更新时间:2023-12-02 20:05:45 24 4
gpt4 key购买 nike

我打开一个模式窗口,从 main.html 页面加载 page.html。在 page.html 中,我有一个指向 page2.html 的链接。

第 2 页上的链接在新的模式窗口中打开第 2 页。我希望它在同一个窗口中打开。

我怎样才能做到这一点?

最佳答案

就像约瑟夫说的那样使用:

<a href="http://example.com" target="_self">Link</a>

关于javascript - 在同一模式窗口中打开链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7457939/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com