Example:
HTML
<script>
function myFunction() {
alert("This document is now being printed");
}
</script>
How to Execute a JavaScript when a page has started printing, or if the print dialogue box has been closed | HTML Attribute |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |