[Javascript] Detecting existence of windows
Mark Christie
MChristie at avsgroup.com
Wed Nov 7 16:39:08 CST 2001
Dear List:
I am having a bit of a cross-browser difficulty in the following
function:
function updateconfirm() {
alert('Your employee information has been updated!');
window.close();
if(!window.opener.closed) {
window.opener.location = window.opener.location + '';
window.opener.focus();
}
}
This works wonderfully in IE5.5, but IE5.01 does not seem to like the
.closed property.
Basically, I need to check to see if the opener window is still open, and,
if it is, refresh it.
Am I missing something obvious here?
Regards,
-Mark C.
More information about the Javascript
mailing list