Solved

Reload/refresh iFrame

Posted on 2012-03-22
3
598 Views
Last Modified: 2012-03-22
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
Comment
Question by:sailing_12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:sailing_12
ID: 37754074
I should mention this only needs to work for IE8 as this will be in a controlled environment.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 350 total points
ID: 37754294
opener.location.reload(1);
Is the syntax.
What is the issue?
0
 

Author Closing Comment

by:sailing_12
ID: 37754716
That works. Hard to believe this wasn't easier to find through google.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question