iframe的跳转方法_javascript_js
来源:互联网 发布:战争雷霆 淘宝 码 编辑:程序博客网 时间:2024/05/21 11:16
一、背景
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页面跳转
三、链接或者form
D页面中有form
<form>: form提交后D页面跳转
<form target="_blank">: form提交后弹出新页面
<form target="_parent">: form提交后C页面跳转
<form target="_top"> : form提交后A页面跳转
四、刷新
parent.location.reload():C页面刷新
window.opener.document.location.reload():C页面刷新(使用子窗口的opener对象来获得父窗口对象)
top.location.reload():A页面刷新
原帖地址:http://blog.csdn.net/yuling59520/article/details/5630766
1 0
- 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跳转
- 新的CCSDS图像压缩推荐标准
- cvc-complex-type.2.4.a: Invalid content was found starting with element
- unity编辑器
- Poj 3468 A Simple Problem with Integers
- CoInitialize()、CoInitializeEx()和AfxOleInit()区别联系
- iframe的跳转方法_javascript_js
- 产品经理如何把握管理的职能
- 爬虫中遇到的问题
- 顶级产品经理具备的九大特质
- hive 命令
- vim ack
- python学习——使用枚举类
- 常规功能和模块自定义系统 (cfcmms)—054 manyToOne的选择方式
- 欢迎使用CSDN-markdown编辑器