R
Robert
Hi,
I have a question of which I am not proud to ask, but there is a
deadline coming near, and it would solve most of my problems.
I want to know if a user has closed a window.
I know of the unload event, however this is triggered too when the
location changes.
I actually managed to do it in firefox, because I could see from the
event object what is the target and it is null when the document is
closed. But unfortunately the srcElement in IE6 is always null.
So could anyone help me out with a solution for IE6?
Robert
I have a question of which I am not proud to ask, but there is a
deadline coming near, and it would solve most of my problems.
I want to know if a user has closed a window.
I know of the unload event, however this is triggered too when the
location changes.
I actually managed to do it in firefox, because I could see from the
event object what is the target and it is null when the document is
closed. But unfortunately the srcElement in IE6 is always null.
So could anyone help me out with a solution for IE6?
Robert