"winloading" defined (since it didn't define or open it) it will fail.
You could grab a handle to the window and close the handle.
try calling window.open with the same window id. The below code should
close a window opened with the 'winloading' id.
try{
window.open('empty.cfm','winloading','width=200, height=50,
resizable=no, scrollbars=no' ).close();
} catch (e){}
_____
From: Daniel Farmer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 5:02 PM
To: CF-Talk
Subject: _javascript_ window question
1st page
======
I'm opening a window with one page... using window open. works fine.
doit = window.open('loading.cfm', 'winloading', 'width=200, height=50,
resizable=no, scrollbars=no' );
2nd Page
======
Trying to close that opened window from another page.
winloading.close();
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

