Link to home
Start Free TrialLog in
Avatar of noulouk
noulouk

asked on

Use setInterval to catch when the iframe location.href changed

Hi Experts,

I want to open the iframe url in the parent window when the iframe location.href change.
I also want to do this with the parent window.

So, I think I have to use the setInterval function to listen when the iframe.location.href has changed.
Then, I use this new location to load it inside the parent window.

But I need a little help to implement the javascript code.

Hope you see what I need.

Thanks in advance for your help.
ASKER CERTIFIED SOLUTION
Avatar of Netwing
Netwing
Flag of Austria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial