|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
More than 1 popup
Hi,
I open a popup from another popup... is it possible to close the parent popup and the parent page of the first popup at the same time? I tried "opener.location.reload" but it doesn't work as I expected. |
|
#2
|
||||
|
||||
|
from the grand-child window, have such javascript code:
Code:
window.opener.opener.location.reload(); window.opener.close(); window.close(); this would reload the parent of the parent window, close the parent window and close the window itself. is that what you wanted? |
|
#3
|
||||
|
||||
|
Yes :-)
Thank you so much, as usual. |
|
#4
|
||||
|
||||
|
shaddow, why reload the opener? and why not just re-use the original window with the new page?
|
|
#5
|
||||
|
||||
|
Quote:
dunno, ask aletheia why such design is used... I'm just following orders. ![]() as you see I have quite advanced Mind Reading spell by now!! ![]() |
|
#6
|
||||
|
||||
|
Me too... I'm just following orders of my boss :-)
|
|
#7
|
||||
|
||||
|
lol
I wonder who's orders he follow? ![]() |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > More than 1 popup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|