onUnload event for body tag : onunload « Document « JavaScript Tutorial






<HTML>
<HEAD><TITLE></TITLE></HEAD>
<BODY onUnload="alert('Goodbye');">
</BODY>
</HTML>








14.28.onunload
14.28.1.document.onunload
14.28.2.onUnload event for body tag