Idocs Guide to HTML
back to <BODY onUnload="...">

An Example of the onUnload Event Handler

This page has an example of <BODY onUnload="...">. The <BODY ...> tag for this page looks like this:

<BODY onUnload="alert('bye now!')">

Try clicking back to the main page to see it work. Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.