[Javascript] Closing Popup from new page

Peter Brunone peter at brunone.com
Tue Jan 21 12:42:52 CST 2003


	That code, in the popup, will close the parent window.

|-----Original Message-----
|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
|Behalf Of Cutter (JavaScript)
|Sent: Tuesday, January 21, 2003 11:34 AM
|To: javascript at LaTech.edu
|Subject: Re: [Javascript] Closing Popup from new page
|
|
|window.opener.close();
|
|Cutter
|
|David Hannum wrote:
|
|>Hello,
|>
|>I have a popup that is spawned from a "submit" button on a page.  When the
|>new page loads, I want the popup to close.  I tried naming the popup and
|>then using onLoad="windowname.close()" in the body tag of the new
|page, but
|>it does not work.  Anybody know what I should do?
|>
|>Kind Regards,
|>Dave
|>




More information about the Javascript mailing list