导航

CRM 2016 一个IFrame页面,执行另一IFrame页面的函数

Posted on 2018-11-01 09:20  yiyishuitian  阅读(272)  评论(0编辑  收藏  举报

 

如果IFrame_A  想执行 IFrame_B 中 RefreshSelf() 函数,可以按以下方法写:

此js代码写在 IFrame_A 中
parent.Xrm.Page.getControl("IFRAME_B").getObject().contentWindow.RefreshSelf();