Is thee a way for Determining wheter a window by window.open() is closed or not in javascript? Following is a simple code for opening a window.
<script type="text/javascript">
var win = window.open("test.htm")
</script>
When some event is fired. a event handler should determine a window is still opened.
if ( /* is a window alive */ )
alert("window is still alive!");
else
alert("window was closed!");