Menu
Horje
Hi !
Welcome,
Guest
Close Menu
Home
Web Tutorial
HTML onafterprint Event Attribute
How to create HTML onafterprint Event Attribute
How to Execute a JavaScript when a page has started printing, or if the print dialogue box has been closed
HTML onbeforeprint Event Attribute
HTML onbeforeunload Event Attribute
HTML onerror Event Attribute
HTML onhashchange Event Attribute
HTML onload Event Attribute
HTML onoffline Event Attribute
HTML ononline Event Attribute
HTML onpageshow Event Attribute
HTML onresize Event Attribute
HTML onunload Event Attribute
Home
Web Tutorial
Full Course
English Tutorial
HTML
HTML Event Attributes
HTML Window Event Attributes
How to create HTML onafterprint Event Attribute
How to create HTML onafterprint Event Attribute
Execute a JavaScript when a page has started printing, or if the print dialogue box has been closed.
index.html
Example:
HTML
<body onafterprint="myFunction()">
Try Now
Output should be:
Next
Previous
Type
:
html
Category
:
Web Tutorial
Sub Category
:
HTML Window Event Attributes
Uploaded by
:
Admin