contentWindow在IE678中报未指明的错误
Closed this issue · 2 comments
rockcookies commented
使用messager进行跨域绑定时,m.addTarget(this.iframe[0].contentWindow, 'iframe1');这行代码报错。
在IE6-8中Iframe创建后马上访问iframe的contentWindow对象会报“未指明的错误”,经测试,可以在iframe的load事件中可以访问contentWindow对象。
afc163 commented
欢迎 PR。
为啥提到 dialog 里?
rockcookies commented
可否将messager绑定contentWindow移动至load事件中?