how to refresh a window
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.
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.
this refreshes an html page
I'm not looking for how to refresh an html page - the question is how do you refresh a window from the end of a chain of popups when one of the popups in the chain has been closed out.
Last edited by devmode; 05-13-2004 at 03:04 PM.
This shows how to have the page auto-load the current page at a given interval.
The interval choosen is 10 seconds.
This file retrieved from the JS-Examples archives
1000s of free ready to use scripts, tutorials, forums.
Author: JS-Examples - http://www.js-examples.com/
// The time out value is set to be 10,000 milli-seconds (or 10 seconds)
I'm sorry - thanks for your help and all, but maybe you aren't reading the question...
And if you don't know then you don't know.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)