Link to home
Avatar of mhdi
mhdi

asked on

When Iframe refreshes it is opened in a new tab

Hi,

I have a page with an iframe on it. A javascript code within the iframe page refreshes the page every few minutes. When the iframe is refreshed the page within the iframe is opened in a new tab. This shouldn't happen, I want it to refresh within the iframe.

It only occurs on some browsers but I am still narrowing down which ones.

If anybody has an idea please let me know.

Thanks
SOLUTION
Avatar of X-treem
X-treem
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of mhdi
mhdi

ASKER

Hi all,

The issue was simple. I was testing the page on my local computer. Therefore the pages within the IFrames were considered external pages.

Once I uploaded to web server (making the iframe contents local) it became good.

Thanks.