Topic: trying to reload iframe from other iframe (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
![]() 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: |
![]() 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 |
![]() |
Obsessive-Compulsive (I) Inmate From: Israel |
![]() 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: |
![]() 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: |
![]() 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: |
![]() Edit TP: spam removed
|