Creating a browser Exit popup
What I want to do is detecting the browser close event(on browser unload)
and open up a new pop up where we have some options like (give a feedback,
go to the page again , mail me a report etc). At the same time I want the
parent window alive till the user select an option in pop up window. I
tried following and it seems not working.
$(window).bind('beforeunload', function(event){
event.preventDefault();
});
Please give me the right direction for achieving this.
No comments:
Post a Comment