摘要: 一、背景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页面跳转三、链接或者formD页面中有form: form提交后D页面跳转:form提交后弹出新页面:form提交后C页面跳转 :form提交后A页面跳转四、刷新parent.location.reload():C页面刷新window.opene 阅读全文
posted @ 2014-02-27 16:16 Otgs 阅读(2158) 评论(0) 推荐(0) 编辑