Unai Martinez schreef:
> How can i detect browser close event?
>
> I've tried something like:
>
> $(window).unload(
>    function(){
>       alert("close");
>       //stop event
>       return false;
>    }
> );
>
from this forum thread

http://forums.devarticles.com/javascript-development-22/how-to-stop-browser-from-closing-using-javascript-8458.html

i understand there is a window.onbeforeunload event

-- 
David Duymelinck
________________
[EMAIL PROTECTED]


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to