Advertisement
kiril_dishliev

window.print() / Date()

Nov 18th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.26 KB | None | 0 0
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head runat="server">
  3.     <title></title>
  4. </head>
  5. <body>
  6.         <button id="btn1" onclick="this.innerHTML=Date()">Date</button>
  7.         <button id="btn2" onclick="window.print()"> Print</button>
  8. </body>
  9. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement