M
mpiscoso@gmail.com
Guest
You could probably try something like: $( window ).unload(function(event) { event.preventDefault(); return; }); and try { window.onbeforeunload=function(){ return; }; } catch(e){} try { window.onunload = function () { return; } } catch(e) {} the try catch blocks are used just in case the browser doesn't support the function. Jquery usually supports browsers well so I don't see the need to add try-catch there. Hope that helps you out.
Continue reading...
Continue reading...