Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- </head>
- <body>
- <button id="btn1" onclick="this.innerHTML=Date()">Date</button>
- <button id="btn2" onclick="window.print()"> Print</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement