Home > Net >  Iframe can't obtain contentWindow object
Iframe can't obtain contentWindow object

Time:10-06

Iframe child form a method in the sub ()

Parent form want to use this method
The function sub ()
{
Var childsub=(" # iframeaddinfo ") [0]. ContentWindow;
Childsub. Sub ();

}

But don't get the dom contentWindow object,,
There is no contentWindow
This is how to return a responsibility, there are other ways call child form of JS method

CodePudding user response:


How to do, day
Can't get child form function

CodePudding user response:

Say ok, the problem is across pages can't access sub access or across pages a week sub itself is not working

CodePudding user response:

refer to the second floor liu50472 response:
say ok, the question is not access sub access across the page or across pages a week sub itself is bad with


Is the lack of contentWindow

CodePudding user response:


  • Related