Answers for "button window .print"

1

javascript window.print

<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

Browse Popular Code Answers by Language