Topic: trying to reload iframe from other iframe (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
posted 03-03-2009 17:59
I'm trying to reload a page in an iframe (a content page) from a page in another iframe (hidden, that checks for updates). The parent for both of these iframes is the main window. I'm trying to do this with javascript. The following is the source code that loads into iframe fr1, which is trying to reload iframe fr2. code: function updateWindow() { window.frames[fr2].location = url; } window.onload = updateWindow;
|
Obsessive-Compulsive (I) Inmate From: |
posted 03-04-2009 06:18
If that code is loaded in the first frame, then window.frames is a reference to the first frame's frames (I assume it has none). |
Paranoid (IV) Inmate From: Norway |
posted 03-04-2009 12:15 |
Obsessive-Compulsive (I) Inmate From: Israel |
posted 09-07-2009 18:28
Just give the frame / iframe a name and submit a form with target="frame name" it will work regardless to the frame level |
Obsessive-Compulsive (I) Inmate From: |
posted 10-18-2010 13:56
Nice walk through DarkGarden. Adding noise was a great insight, I'd missed that step in my thoughts on how the technique would go. I also thought that running the wind filter in the opposite direction would smudge the effects from the first pass of wind ~couldn't resist~ |
Obsessive-Compulsive (I) Inmate From: |
posted 10-18-2010 13:58
he parent for both of these iframes is the main window. I'm trying to do this with javascript. The following is the source code that loads into iframe fr1, which is trying to reload iframe fr2. |
Nervous Wreck (II) Inmate From: |
posted 05-31-2011 10:59
Edit TP: spam removed
|