[Javascript] How to refresh opener window ??
Peter Brunone
peter at brunone.com
Thu May 23 10:10:43 CDT 2002
window.opener.refresh();
or reload... I can never remember which one...
Just make sure that when you open the popup, you set its opener property to
the parent window, i.e.
var myWin = window.open(yadayada);
if(!myWin.opener) {myWin.opener = window}
(this is just in case the browser doesn't set the opener property by
itself)
Cheers,
Peter
|-----Original Message-----
|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
|Behalf Of Dijam majiD
|Sent: Thursday, May 23, 2002 9:53 AM
|To: javascript at LaTech.edu
|Subject: [Javascript] How to refresh opener window ??
|
|
|I have a main window main.jsp and when I click in a link child.jsp
|popup, in
|child.jsp I am doing some database transactions, how after closing
|child.jsp
|(or after an action finishs in child.jsp) refresh the main.jsp page.
|
|thanks
More information about the Javascript
mailing list