Download file and close window
Posted on 2001-09-13
I have a link that when user click it, it will pop up a new window that executes CF code and the user will have options to download the file (the default window that says you want to open it or save it to the disk).
My problem is when I choose neither ok or cancel to that download options, the pop window won't close and it just blank.
I put this script in my pop up window.
self.location = 'file1.exe';
the problem is it just close and won't show up the download window.
Is there anyway to close that popup window immediately after the download window show up ???