Solved

Reload/refresh iFrame

Posted on 2012-03-22
3
593 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
Comment Utility
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
Comment Utility
opener.location.reload(1);
Is the syntax.
What is the issue?
0
 

Author Closing Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

763 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

6 Experts available now in Live!

Get 1:1 Help Now