history.go和window.location的一个小区别
response.Write("<script>alert('用户名或密码不对');history.go(-1);</script>")
返回后 已经填过的用户名还有
response.Write("<script>alert('用户名或密码不对');window.location.href='login.asp';</script>")
返回后 已经填过的用户名没了 相当于刷新
posted on 2009-10-03 16:12 Master zhu 阅读(483) 评论(0) 编辑 收藏 举报