Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 603
  • Last Modified:

Reload/refresh iFrame

I have an iFrame from which I launch a form in a new window. When this form submits, I want to refresh the opening iFrame's content.

I can successfully address the iFrame object from the form via window.opener, but can't seem to find a clean simple way to execute a refresh or reload.

I know that I can set the iFrame's src to the same path, but I am looking for something cleaner than that.

Anyone have anything that works?
0
sailing_12
Asked:
sailing_12
  • 2
1 Solution
 
sailing_12Author Commented:
I should mention this only needs to work for IE8 as this will be in a controlled environment.
0
 
Michel PlungjanIT ExpertCommented:
opener.location.reload(1);
Is the syntax.
What is the issue?
0
 
sailing_12Author Commented:
That works. Hard to believe this wasn't easier to find through google.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now