js重定向---实现页面跳转的几种方式
来源:互联网 发布:苹果视频制作软件 编辑:程序博客网 时间:2024/06/11 05:01
第一种:
<script language="javascript"type="text/javascript">
window.location.href="login.aspx?backurl="+window.location.href;
</script>
第二种:
<script language="javascript">
alert("返回");
window.history.back(-1);
</script>
第三种:
<script language="javascript">
window.navigate("top.aspx");
</script>
第四种:
<script language="JavaScript">
self.location='top.htm';
</script>
第五种:
<script language="javascript">
alert("非法访问!");
top.location='xx.aspx';
</script>
<script language="javascript"type="text/javascript">
window.location.href="login.aspx?backurl="+window.location.href;
</script>
第二种:
<script language="javascript">
alert("返回");
window.history.back(-1);
</script>
第三种:
<script language="javascript">
window.navigate("top.aspx");
</script>
第四种:
<script language="JavaScript">
self.location='top.htm';
</script>
第五种:
<script language="javascript">
alert("非法访问!");
top.location='xx.aspx';
</script>
转自:http://jackwang.diandian.com/post/2011-11-28/14354794
0 0
- js重定向---实现页面跳转的几种方式
- js重定向&实现页面跳转的几种方式
- js重定向---实现页面跳转的几种方式
- js重定向---实现页面跳转的几种方式
- js重定向---实现页面跳转的几种方式
- js实现页面跳转重定向的几种方式
- js实现页面跳转重定向的几种方式
- js实现页面跳转重定向的几种方式
- js实现页面跳转重定向的几种方式
- js重定向---实现页面跳转的几种方式
- js重定向——实现页面跳转的方式
- 实现页面重定向(跳转)的4种方式
- 实现页面重定向(跳转)的4种方式
- js实现几秒页面跳转的几种方式
- JS重定向的几种方式
- js实现页面跳转的几种方式普通方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- 2014年05月19日
- 伪静态软件下载连接
- sql server存储过程基础
- Spark中实现TOP N (Scala版本)
- mssql存储过程的一个例子
- js重定向---实现页面跳转的几种方式
- .net关于dropdowlist操作
- 【转载】JQ 选择器大全
- LVS服务器集群系统结构
- unity热更方案 java script binding中使用protobuff(一)
- T-sql一些不常用的语句
- jq+css3树叶飘散特效
- 在T-SQL中使用临时表的注意事项
- SQL CTE能帮助我做什么