Saturday, 19 October 2019

JavaScript Window print() Method

JavaScript | Window print() Method

Page print in JavaScript is a simple code in JavaScript used to print the content of the web pages.
  • The print() method prints the contents of the current window.
  • It basically opens Print dialog box which lets you choose between various printing options.
Syntax:
window.print()
Parameters: No parameters required
Returns: This function do not return anything

No comments:

Post a Comment