从整个页面的html框架重定向



你好,朋友们,我有两个框架,每个框架都有一个html表单,应该重定向到其他页面,但这里的问题是,当任何页面重定向时,目标页面只能在特定的框架中看到。。。。当提交任何框架的表单时,如何完全重定向到整个页面。。。

我正在使用

<frameset cols="40%,60%">
<frame src="pmode.html" frameborder="0">
<frame src="create.html"frameborder="0">
</frameset>

为此,我们有表单的target属性:

<form action="newpage.html" target="_top">

这意味着:"此表单的目标是最上面的页面,而不是当前框架"。

您也可以尝试<form action="newpage.html"target="_blank">如果您希望在新选项卡中打开页面

Just将target="_blank"放在其他页面(pmode.html或create.html)的按钮链接中

最新更新