javascript在IE9下需要改变

原来的代码不能执行了,是IE9的原因吗?可其他页面同样的代码好像可以执行!看来得用新的方法了,旧
 document.parent.frames('ifrm').location.href = href;
新代码:
 window.parent['ifrm'].location.href = href;
原文地址:https://www.cnblogs.com/hoge/p/2093268.html