how to handle window closing event in javascript???
[code=javascript] window.onunload =function(){
if(window.event .clientY < 0 && window.event.cl ientY < -80){
alert('window close event triggered');
}
}[/code]
this is working bassed on the mouse cursor.. in some case its not working... is there any alternate way to solve this prob??????
Regards,
Prakash M.
[code=javascript] window.onunload =function(){
if(window.event .clientY < 0 && window.event.cl ientY < -80){
alert('window close event triggered');
}
}[/code]
this is working bassed on the mouse cursor.. in some case its not working... is there any alternate way to solve this prob??????
Regards,
Prakash M.
Comment