parent.window.opener.ifraName.frameElement.style.display="";不可以?
a.jsp:
有window.open("x.jsp");
a中包含一iframe:
<iframe src="b.jsp" width="100%" name="ifraB" scrolling="no"/>
x.jsp:
包含一iframe:
<iframe src="y.jsp" width="100%" name="ifraY" scrolling="no"/>
现在我要在y.jsp中控制ifraB的显示,用
parent.window.opener.ifraName.frameElement.style.display="";不可以?
报:一般性拒绝访问错误