js iframe 跳转

iframe 页面内操作:

//iframe指向指定页面

parent.document.getElementById("hot").src = $("#hidPageUrl").val();

 

//当前ifram 刷新

document.location.reload();

//调用父标签的方法

window.parent.opener.vm.fnSearch();//vm.fnSearch(); 为父标签里的

 

Ifram 跨域SSO 登录无法跳转问题:

添加标签 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

posted on 2016-06-02 11:39  胖子略显瘦  阅读(681)  评论(0编辑  收藏  举报