Response.Wirte("<script>alert('注册成功!');window.location.href='Login.aspx'</script>");这样写能跳转,并且提示信息正确,但是。。 javascript中的 location.href有很多种用法,主要如下。 self.location.href="/url" 当前页面打开URL页面 ...