Solved

Reload/refresh iFrame

Posted on 2012-03-22
3
595 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

813 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now