devmode
05-13-2004, 01:53 PM
Is it possible to refresh/reload or by any means manipulate a window by name? I have an issue where the end of a chain of popups needs to reload the main window when data is changed in that popup.
If one of the popups in the chain is closed then I can not just go up the window.opener hierarchy, because the chain is broken. So I was wondering if it was possible to reload a window by name or if at all possible to somehow go to the top of the hierarchy bypassing the closed popup.
Make sense?
Main window > popup1 > popup2
If popup1 is closed and then data is manipulated in popup2 it needs to update the main window .. but can't because while window.opener is valid (since the object is not actually destroyed) .. it is not really a window object any more and does not itself have an opener... which is what I need in order to get back to the main to manipulate it.
If one of the popups in the chain is closed then I can not just go up the window.opener hierarchy, because the chain is broken. So I was wondering if it was possible to reload a window by name or if at all possible to somehow go to the top of the hierarchy bypassing the closed popup.
Make sense?
Main window > popup1 > popup2
If popup1 is closed and then data is manipulated in popup2 it needs to update the main window .. but can't because while window.opener is valid (since the object is not actually destroyed) .. it is not really a window object any more and does not itself have an opener... which is what I need in order to get back to the main to manipulate it.