使用js的alert后,使用location.href转向,不要使用redirect转向
2010-03-11 18:36
218 查看
<%
Response.Write("<script language=javascript>alert('提示内容');</script>")
response.Redirect("http://www.baidu.com") '不会弹出上面的提示,用location.href
'response.End()
%>
Response.Write("<script language=javascript>alert('提示内容');</script>")
response.Redirect("http://www.baidu.com") '不会弹出上面的提示,用location.href
'response.End()
%>
相关文章推荐
- 解决JS在alert之后window.location.href跳转无法正常执行
- 解决在chrome浏览器使用js的window.location.href跳转页面失败的问题
- springMVC框架在js中使用window.location.href请求url时IE不兼容问题解决
- location.href 在JS中是 什么意思 怎么使用它 举例说明谢谢了,大神帮忙啊
- springMVC框架在js中使用window.location.href请求url时IE不兼容问题解决
- window.location.href 放置在单独的JS文件中使用时问题
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的使用方法
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的使用方法
- js 使用 window.location.href 无法跳转
- JS中设置window.location.href跳转无效
- 能使用html/css解决的问题就不要使用JS
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法
- 用js验证输入信息,不使用alert,而使提示错误的信息直接出现在输入框后?在同一行上
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中location.href的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法(转)
- Effective前端1:能使用html/css解决的问题就不要使用JS
- JS(history,location的使用)返回上一页以及返回上一页并刷新
- window.navigate 与 window.location.href 的使用区别介绍
- window.navigate 与 window.location.href 的使用区别介绍