Answers for "print page on button click in javascript"

1

how set the function on button when click and show the window.print output in js

<button onclick="window.print()">Print this page</button>
Posted by: Guest on May-27-2021
9

how set the function on button when click and show the window.print output in js

console.log("print")
//or
alert("Print")
Posted by: Guest on April-07-2020

Code answers related to "print page on button click in javascript"

Browse Popular Code Answers by Language