By using this code, You can display a dialogue/message/alert on closing the web page window or browser window. Useful when u want to say something to the user on closing the web browser/document/page window.
posted in HTML and JavaScript by shyam