Attribute |
Description |
onafterprint |
Script executed after the document is printed |
onbeforeprint |
Script executed before the document is printed |
onbeforeunload |
Script executed before a document being unloaded |
onerror |
Script executed when an error occurs |
onhashchange |
Script executed when there has been changes to the anchor part of the a URL |
onload |
Fires after the page is finished loading |
onmessage |
Script executed when a message event occurs |
onoffline |
Script executed when the browser starts to work offline |
ononline |
Script executed when the browser starts to work online |
onpagehide |
Script executed when a user navigates away from a page |
onpageshow |
Script executed when a user navigates to a page |
onpopstate |
Script executed when the window's history changes |
onresize |
Script executed when the window is resized |
onstorage |
Script executed when web storage area is updated |
onunload |
Script executed when the current webpage is unloaded, or window is closed |