Unai Martinez schrieb: > How can i detect browser close event? > > I've tried something like: > > $(window).unload( > function(){ > alert("close"); > //stop event > return false; > } > ); > > Alert appears, but event continues... > > Thx!
I don't think that you can - or if my knowledge here is limited that it is a good idea to - stop the user from closing the window... -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/