Inside that page that you are doing the delete action in, you should refresh
the parent page before you close the window.
Throw this function in your popup window, and call it just before you close
the popup win.
function refreshParent(){
opener.location = 'yourPage.cfm';
}
Nate Nielsen
[EMAIL PROTECTED]
[EMAIL PROTECTED]
----- Original Message -----
From: "phumes1" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 6:50 AM
Subject: Re: Refresh
>
> Hi,
>
> I'm having trouble figuring this one out. I'm using <cfdirectory to list
> file(s) on our server. Each file has an associated <a href" anchor. When a
> link is clicked on and depending on the file extension different templates
> are opened up. For example, one link will open a dialog that allows a user
> to delete the file. When the user clicks on the "Delete" button the code
is
> executed and the window is closed.
>
> What I would like to do, but can't figure it out, is once the secondary
> window (which executes the delete function) is closed, how can I
> automatically do a refresh of the previous page that lists all the
file(s)?
> I constantly have to refresh manually.
>
> Any ideas?
>
>
>
>
>
>
+---------------------------------------------------------------------------
--------+
>
> Philip Humeniuk
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
+---------------------------------------------------------------------------
---------+
>
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org