![]() |
Definition and UsageThe Tip: The Applies toThe
Browser Support |
Example:
HTML
<script>
function myFunction() {
alert("This document is now being printed");
}
</script>
onafterprint attribute |
How to Execute a JavaScript when a page has started printing, or if the print dialogue box has been closed | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 105 |
Reffered: https://www.w3schools.com/tags/att_onafterprint.asp