Hi all,
Good Luck to everyone and How to Alert the User when they suddenly closing their web page..Actually i tried by using the Body OnUnLoad event , it seems to be working..
But in my requirement the same page will be loaded dynamically multiple times.So if i am using the OnUnLoad Event every time my Script is firing.How to Avoid that.Or Is there any other event is available so that we can trap the Browsers Close Menu(i.e the one which is displaying in the Left Top of the Browser).
Looking for the valuable suggestion from all.
thanks and regards
Ramesh
Good Luck to everyone and How to Alert the User when they suddenly closing their web page..Actually i tried by using the Body OnUnLoad event , it seems to be working..
But in my requirement the same page will be loaded dynamically multiple times.So if i am using the OnUnLoad Event every time my Script is firing.How to Avoid that.Or Is there any other event is available so that we can trap the Browsers Close Menu(i.e the one which is displaying in the Left Top of the Browser).
Looking for the valuable suggestion from all.
thanks and regards
Ramesh
Comment