TavoxPeru 0 Report post Posted December 9, 2007 I know that when a user leaves your website you can perform any action if you add some code to the onunload event like for example display an alert box, pop-up a window, etc. but when the user close the browser window instead which event is fired up??? how to control this action??? is it possible to add some code to perform when this happens????Best regards, Share this post Link to post Share on other sites
turbopowerdmaxsteel 0 Report post Posted December 9, 2007 I think it should trigger the same event as it is fundamentally the same, body being unloaded. I have found this to be the case in Internet Explorer 7 and Firefox. There might be inconsistencies in other borwsers, though. Share this post Link to post Share on other sites