Basically, I have an iframe
embedded in a page and the iframe
has some JavaScript routines I need to invoke from the parent page.
(基本上,我将iframe
嵌入到页面中,并且iframe
具有一些我需要从父页面调用的JavaScript例程。)
Now the opposite is quite simple as you only need to call parent.functionName()
, but unfortunately, I need exactly the opposite of that.
(现在相反非常简单,因为您只需要调用parent.functionName()
,但是不幸的是,我需要恰好相反。)
Please note that my problem is not changing the source URL of the iframe
, but invoking a function defined in the iframe
.
(请注意,我的问题不是更改iframe
的源URL ,而是调用iframe
定义的函数。)
ask by Tamas Czinege translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…