fazlurr
4/23/2014 - 10:42 AM

jQuery function to show popup on window close

jQuery function to show popup on window close

$(window).bind("beforeunload", function() { 
    return confirm("Do you really want to close?"); 
});