Dave Francis wrote:
>       I have a window from which I open pop-up with JS
> window.open();. When I
> close this pop-up - self.close(); - is there any way to force a refresh of
> the "parent" window?

Dave:

When a window creates a pop-up, it creates within the pop-up a reference
back to the opening window called "opener".  You can use this reference to
refer back to the opener and force it to reload the page.

Before you call self.close(), add the following:

        opener.document.location.reload(true);

This refers to the opening window's location object and instructs it to
force a reload.  You could also add that line to the pop-up window's BODY
tag's onUnload event handler as in:

        <BODY ... onUnload="opener.document.location.reload(true);">

Note that some older browsers did not automatically create the opener
reference and you had to do that manually.  You probably don't still have to
do that but, just in case...

HTH

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253619
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to