ID: 372
Category: Vanilla Javascript
Added: 19th of March 2024
Updated On: Tutorial updated and rechecked on 6th of November 2024
Views: 498
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