• <small id='DrOxS'></small><noframes id='DrOxS'>

    <tfoot id='DrOxS'></tfoot>
    <legend id='DrOxS'><style id='DrOxS'><dir id='DrOxS'><q id='DrOxS'></q></dir></style></legend>
      <bdo id='DrOxS'></bdo><ul id='DrOxS'></ul>

    <i id='DrOxS'><tr id='DrOxS'><dt id='DrOxS'><q id='DrOxS'><span id='DrOxS'><b id='DrOxS'><form id='DrOxS'><ins id='DrOxS'></ins><ul id='DrOxS'></ul><sub id='DrOxS'></sub></form><legend id='DrOxS'></legend><bdo id='DrOxS'><pre id='DrOxS'><center id='DrOxS'></center></pre></bdo></b><th id='DrOxS'></th></span></q></dt></tr></i><div id='DrOxS'><tfoot id='DrOxS'></tfoot><dl id='DrOxS'><fieldset id='DrOxS'></fieldset></dl></div>

      1. PHP“标头(位置)"在 IFRAME 中,加载到 _top 位置?

        PHP quot;header (location)quot; inside IFRAME, to load in _top location?(PHP“标头(位置)在 IFRAME 中,加载到 _top 位置?)
            <tbody id='GaG8H'></tbody>

          <i id='GaG8H'><tr id='GaG8H'><dt id='GaG8H'><q id='GaG8H'><span id='GaG8H'><b id='GaG8H'><form id='GaG8H'><ins id='GaG8H'></ins><ul id='GaG8H'></ul><sub id='GaG8H'></sub></form><legend id='GaG8H'></legend><bdo id='GaG8H'><pre id='GaG8H'><center id='GaG8H'></center></pre></bdo></b><th id='GaG8H'></th></span></q></dt></tr></i><div id='GaG8H'><tfoot id='GaG8H'></tfoot><dl id='GaG8H'><fieldset id='GaG8H'></fieldset></dl></div>
              <bdo id='GaG8H'></bdo><ul id='GaG8H'></ul>

                  <small id='GaG8H'></small><noframes id='GaG8H'>

                1. <tfoot id='GaG8H'></tfoot>

                  <legend id='GaG8H'><style id='GaG8H'><dir id='GaG8H'><q id='GaG8H'></q></dir></style></legend>
                2. 本文介绍了PHP“标头(位置)"在 IFRAME 中,加载到 _top 位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个简单的表格,它位于 IFRAME 中.当用户单击提交时,它会重定向到我服务器上的特定页面.我用于重定向的功能是

                  I have a simple form which is inside IFRAME. When user click on SUBMIT, it redirects to a specific page on my server. The function I use for the redirect is

                   header ('Location: mypage2.html');
                  exit ();
                  

                  但我希望新页面在 _top 位置打开,而不是在我使用的同一个 IFRAME 内.如何告诉浏览器在 _top 中而不是在 IFRAME 中打开新页面?提前致谢.

                  But I want the new page to open in _top location, not inside the same IFRAME that I use. How can I tell the browser to open the new page in _top not inside the IFRAME? Thanks in advance.

                  推荐答案

                  在 PHP 中无法达到预期的效果.这是您必须从 JavaScript 执行的操作,或者将 target 属性添加到 <form>:

                  You are not able to achieve the desired effect in PHP. This is something you'd have to do from JavaScript or add target attribute to <form>:

                  <form ... target="_top">
                  

                  这篇关于PHP“标头(位置)"在 IFRAME 中,加载到 _top 位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                3. <small id='zvIJG'></small><noframes id='zvIJG'>

                    <bdo id='zvIJG'></bdo><ul id='zvIJG'></ul>

                    <legend id='zvIJG'><style id='zvIJG'><dir id='zvIJG'><q id='zvIJG'></q></dir></style></legend>

                      1. <i id='zvIJG'><tr id='zvIJG'><dt id='zvIJG'><q id='zvIJG'><span id='zvIJG'><b id='zvIJG'><form id='zvIJG'><ins id='zvIJG'></ins><ul id='zvIJG'></ul><sub id='zvIJG'></sub></form><legend id='zvIJG'></legend><bdo id='zvIJG'><pre id='zvIJG'><center id='zvIJG'></center></pre></bdo></b><th id='zvIJG'></th></span></q></dt></tr></i><div id='zvIJG'><tfoot id='zvIJG'></tfoot><dl id='zvIJG'><fieldset id='zvIJG'></fieldset></dl></div>
                          <tbody id='zvIJG'></tbody>
                          1. <tfoot id='zvIJG'></tfoot>