iframe 子窗口互调用父窗口

//父窗口调用子窗口的方法:(获得子窗口的iframe的id)

document.getElementById(“ifrmWlxx”).contentWindow.onExpressSave();

子窗口调用父窗口的方法:

window.parent.onAddressSaveOk()

猜你喜欢

转载自blog.csdn.net/weixin_43239106/article/details/84871846