TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX