Solved

Reload/refresh iFrame

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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Asp in script 6 36
Add or delete table rows 10 53
Head to not include on scroll 4 22
BATCH to EXE Converter 2 32
This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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)

789 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