iframe的跳转方法_javascript_js
来源:互联网 发布:淘宝店铺允许出租拿 编辑:程序博客网 时间:2024/05/02 04:29
"window.location.href"、"location.href"是本页面跳转
"parent.location.href"是上一层页面跳转
"top.location.href"是最外层的页面跳转
举例说明:
如果A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是A的iframe,如果D中js这样写
"window.location.href"、"location.href":D页面跳转
"parent.location.href":C页面跳转
"top.location.href":A页面跳转
如果D页面中有form的话,
<form>: form提交后D页面跳转
<form target="_blank">: form提交后弹出新页面
<form target="_parent">: form提交后C页面跳转
<form target="_top"> : form提交后A页面跳转
关于页面刷新,D 页面中这样写:
"parent.location.reload();": C页面刷新 (当然,也可以使用子窗口的 opener 对象来获得父窗口的对象:window.opener.document.location.reload(); )
"top.location.reload();": A页面刷新
- iframe的跳转方法_javascript_js
- iframe的跳转方法_javascript_js
- iframe的跳转方法
- iframe的跳转方法
- iframe的跳转方法
- iframe的跳转方法_js
- JavaScript使iframe的跳转方法
- 在iframe页面跳转的各种方法
- iframe 跳转方法
- iframe中的各种跳转方法
- iframe中的各种跳转方法
- iframe中的各种跳转方法
- iframe中的各种跳转方法
- iframe中的各种跳转方法
- 不用ajax的局部页面跳转实现方法(iframe)
- frame & iframe 的页面跳转
- iframe中的各种跳转方法(转)
- iframe跳转
- 使用maven-sql-plugin实现持续数据库集成(CDBI)
- ghost后分区丢失如何恢复数据-分区表医生!
- SQL SERVER 2008 表值参数
- 有关libpcap和snort的
- 如何使CSS渲染更高效
- iframe的跳转方法_javascript_js
- 谁动了我的IP地址?
- 一日三衰
- JavaScript的BASE64
- HTTP协议及其POST与GET操作差异 & C#中如何使用POST、GET
- 基于Visual Studio 2010 阐述C#4个特性
- Ubuntu 下安装ibus日语输入法
- oracle sql*plus set &spool介绍(一)
- 解决MySQL CPU占用100%的经验总结