修改密码模式窗体,修改之后不成功或成功,怎么关闭,回到我的首页, 
ClientScript.RegisterStartupScript(this.GetType(), "消息提示", "alert('用户名或密码不正确');history.go(-1)", true);这是验证的,这样不对,请问要怎么写

解决方案 »

  1.   

    ClientScript.RegisterStartupScript(this.GetType(), "消息提示", "<script>alert('用户名或密码不正确');history.go(-1);</script>");这是验证的,这样不对,请问要怎么写
      

  2.   

    ClientScript.RegisterStartupScript(this.GetType(), "", "location.replace('../admin/index.aspx')", true);
      

  3.   


    ClientScript.RegisterStartupScript(this.GetType(), "消息提示", "<script>alert('用户名或密码不正确');window.close();</script>");
      

  4.   

    http://www.zhangxinxu.com/study/200911/jQuery-plugin-boxy.html