onunload event for window (JavaScript 1.0)

Event handler for unload events on the window.

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 5.0

Browser Support

Examples having uses of JavaScript event 'onunload'

2 votes
3k views

JavaScript onLoad and Unload Events

These events are fired when a web page is loaded to browser and when user leaves the page.