Click to See Complete Forum and Search --> : refresh browser out of focus


t99t
02-03-2003, 04:04 PM
I have a browser that open another browser. And when that other browser finish opening up I want the old browser to automatically refresh.
Anyone done this before?

alcodes
02-03-2003, 04:19 PM
Never done it, but I'd say it would look somewhat like this:

window.open("page.html","","blah...blah");
self.refresh();

Romeo_Foxtrot
02-03-2003, 04:32 PM
To gain access to the parent window, refer to it this way...
You can use all of the methods available (for example)
close(), refresh(), print() etc.......

parent.parent.close()

To get a handle to the form object use...

var openfrm=parent.parent.opener.document.forms[0];


HTH

Romeo