TOC PREV NEXT INDEX

domref



window.onunload


An event handler for the unload event on the window.

Syntax

window.onunload = funcRef
 

Parameters

funcRef is a reference to a function.

Example

window.onunload = saveStuff;
 

Notes

The unload event is raised as one document is unloaded and another is about to be loaded into the browser.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX