Window JavaScript Tutorial

The onError event handler is fired when an error occurs loading the page.