WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 onbeforeunload, Dileepa Wijay, March 21, 2004
     Re:onbeforeunload, Guilherme Blanco, March 22, 2004
         Re:onbeforeunload, Dileepa Wijay, March 22, 2004
             Re:onbeforeunload, Guilherme Blanco, March 23, 2004
                 Re:onbeforeunload, Erik Arvidsson, March 26, 2004

Subject: Re:onbeforeunload From: Erik Arvidsson Date: March 26, 2004
It is better to return the message in beforeunload

window.onbeforeunload = function ( e )
{
return "Closing this will lose your data...";
};

This only gives you one dialog a

erik



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX