在当前页点击一个按钮,跳出一个对话框,点击确定,回转到上一个页面

解决方案 »

  1.   

    Response.Write("<script>alert('谢谢!');history.go(-2);");
    也可能是Response.Write("<script>alert('谢谢!');history.go(-1);");
    你试下。
      

  2.   

    Response.Write("<script>alert('谢谢!');history.go(-2);</script>");
      

  3.   

      先弹出信息然后再跳转就可以了啊
                Response.Write("<script>alert('弹出!')</script>");
                Response.Write("<script>document.location='跳转页面'</script>");
           
      

  4.   

    Response.Write("<script>alert('谢谢!');history.go(-1);");
      

  5.   

    <script language="javascript">parent.window.location.href=parent.window.location.href;
    </script>
      

  6.   

      ClientScript.RegisterStartupScript(this.GetType(), "windowtransfer", "history.go(-1);", true);
      

  7.   

    ClientScript.RegisterStartupScript(this.GetType(), "windowtransfer", "history.go(-1);", true);
    就是这样