Category: Vanilla Javascript
Added: 19th of March 2024
Viewed: 363 times
To display the Print Dialogue window in your web browser using Javascript, use the window.print() function. Below are two examples, one using a standard link and another using a button.
Regular HTML link