Very Simple Example
Try This
<html>
<body>
<head>
<script>
function myFunction() {
window.print();
}
</script>
</head>
<p>Click the Print the Page.</p>
<button onclick="myFunction()">Print this page</button>
</body>
</html>
Try This
<html>
<body>
<head>
<script>
function myFunction() {
window.print();
}
</script>
</head>
<p>Click the Print the Page.</p>
<button onclick="myFunction()">Print this page</button>
</body>
</html>
No comments:
Post a Comment