• <legend id='AWDEt'><style id='AWDEt'><dir id='AWDEt'><q id='AWDEt'></q></dir></style></legend>

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

    <tfoot id='AWDEt'></tfoot>

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

        窗口历史记录(-1)不起作用

        window history back (-1) not working(窗口历史记录(-1)不起作用)
        <i id='gxyPK'><tr id='gxyPK'><dt id='gxyPK'><q id='gxyPK'><span id='gxyPK'><b id='gxyPK'><form id='gxyPK'><ins id='gxyPK'></ins><ul id='gxyPK'></ul><sub id='gxyPK'></sub></form><legend id='gxyPK'></legend><bdo id='gxyPK'><pre id='gxyPK'><center id='gxyPK'></center></pre></bdo></b><th id='gxyPK'></th></span></q></dt></tr></i><div id='gxyPK'><tfoot id='gxyPK'></tfoot><dl id='gxyPK'><fieldset id='gxyPK'></fieldset></dl></div>

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

            <bdo id='gxyPK'></bdo><ul id='gxyPK'></ul>
          • <tfoot id='gxyPK'></tfoot>
                <tbody id='gxyPK'></tbody>

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

                  本文介绍了窗口历史记录(-1)不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用下面的代码返回上一页,但它不起作用.即使我在页面上单击确定",警报框仍会弹出.实际上有 3 页包含此 Windows 页面代码.第一页是用户需要填写的表格名称redeem_newcust.asp,操作应该是将所有数据保存到名为redeem_newcustDB.asp的数据库中.在redeem_newcustDB.asp 页面中有一个代码可以选择兑换类型的选项,然后此页面将指向redeem_newprocess.asp 页面的操作,其中包含如下代码.表示当用户点击不等于生日礼包 - PDV RM50"的兑换类型时,它应该返回到上一页,即页面redeem_newcustDB.asp.有可能回到上一页..?b 是否需要带来所有的价值?请帮忙,谢谢

                  I have use below code to back for the previous page, but it's not working. the alert box still popup even i click ok on the page. actually there have 3 page include this windows page code. 1st page is user need to fill up the form is name redeem_newcust.asp and the action should be save all the data into the database named redeem_newcustDB.asp. In page redeem_newcustDB.asp have one code to select option for type of redemption then this page will point action to the page redeem_newprocess.asp with is included as below code. Means when user click on type of redemption not equal to "Birthday Pack - PDV RM50" then it should be back to the previous page that means page redeem_newcustDB.asp. It's possible to having back to that previous page..? Should b need to bring all the value? Please help, thanks

                  If redeemtype = "Birthday Pack - PDV RM50" then
                          Response.Redirect("redeem_newbirth.asp?cardno="&BlinkCard&"&redeemtype="&redeemtype&"")
                      Else
                          %>
                              <script language="javascript">
                              <!--
                              window.alert ("Please choose Type of Redemption");
                              window.history.go(-1);
                              //-->
                              </script>
                          <%   
                  End If
                  
                  %>
                  

                  推荐答案

                  使用:window.history.back() 代替 .go();

                  http://www.w3schools.com/jsref/met_his_back.asp

                  或使用:

                  window.alert("Please choose Type of Redemption");
                  setTimeout(function(){
                    window.history.go(-1);
                  },500);
                  

                  这篇关于窗口历史记录(-1)不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  What are valid deviceNames for Chrome emulation testing with Protractor?(使用 Protractor 进行 Chrome 模拟测试的有效设备名称是什么?)
                  Protractor Check if Element Does Not Exist(量角器检查元素是否不存在)
                  Protractor e2e Tests Login Redirection(Protractor e2e 测试登录重定向)
                  Explain about async/ await in Protractor(解释 Protractor 中的 async/await)
                  Protractor browser.wait doesn#39;t wait(量角器 browser.wait 不等待)
                  How to use Protractor with Angular 2?(如何在 Angular 2 中使用量角器?)

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

                    <tbody id='qS1KG'></tbody>

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

                      <legend id='qS1KG'><style id='qS1KG'><dir id='qS1KG'><q id='qS1KG'></q></dir></style></legend>
                      <tfoot id='qS1KG'></tfoot>

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