|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Refresh iframe from nested popup
I am a first time poster, so I hope I can explain myself clearly.
I have a Page1.htm that contains an iframe with an id of iframe1. iframe1 loads page2.htm. Page2.htm opens a pop-up window Page3.htm. During the onunload event of Page3.htm I would like to refresh the contents of the iframe located on Page1.htm. I have tried the following code: top.frames['iframe1'].location.reload(true) and different variation using parent and opener but I always receive the following error message: top.iframe1.location is null or not an object. Any ideas on what I am doing wrong? Thank you in advance. |
|
#2
|
|||
|
|||
|
hey do 1 thing
Window.opener.location.href="SOMEURL"; if u will do this then ....Popup will go and search it,s opener.. and the opener is IFRAM... it will be done autometically... But if u u havedone submit on the pop in past then its current connection will be disconnected from POP UP.. |
|
#3
|
|||
|
|||
|
Quote:
Thank you for the reply. Yes that does reload the opener page, but what I would really like is only the iframe on that page to load. Any ideas? |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Refresh iframe from nested popup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|