doh! window.opener.loocation.reload();
-----Original Message----- From: David Armstrong Sent: Wednesday, May 15, 2002 1:03 PM To: CF-Talk Subject: RE: Refresh refresh the primary window then close the secondary, like this: <script> //refresh primary window window.opener.location.refresh(); //close secondary window window.self.close(); </script> rgds, dave a. -----Original Message----- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:51 PM To: CF-Talk 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 list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists