devxlogo

Use JavaScript to Print an Entire Web Document

Use JavaScript to Print an Entire Web Document

To print the entire document from JavaScript, use parent.print() in the code. For example, this code snippet can be used to print the entire document on click event.

  

devx-admin

Share the Post: