Horje

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()"> 

Output should be:

How to create HTML onafterprint Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Window Event Attributes
Uploaded by:
Admin