Found 1 Questions For Front End

How to print page using JavaScript ?

Updated on 26-Sep-2021 19:21:08
To print a page in JavaScript, use the print() method. It opens up the standard dialog box, through which you can easily set the printing options like which printer to select for printing. Page print in JavaScript is a simple code in JS used to print the content of the web pages. The print() method prints the contents of the current window.(window.print) It basically opens Print dialog box which lets you choose between various printing options. Syntax: window.print() Parameters... Read More



Advertisements

ads