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

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

      <legend id='UD7L4'><style id='UD7L4'><dir id='UD7L4'><q id='UD7L4'></q></dir></style></legend>
    1. 窗口历史记录(-1)不起作用

      时间:2023-10-12
        <tbody id='zUV4c'></tbody>
      <tfoot id='zUV4c'></tfoot>

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

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

            1. <legend id='zUV4c'><style id='zUV4c'><dir id='zUV4c'><q id='zUV4c'></q></dir></style></legend>
                <bdo id='zUV4c'></bdo><ul id='zUV4c'></ul>

                本文介绍了窗口历史记录(-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)不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:JavaScript/jQuery:如何在用户离开页面之前确保跨域 下一篇:ActiveX 日历控件在 Windows 7 中不起作用

                相关文章

                最新文章

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

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

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

                    <tfoot id='W4pAF'></tfoot>