<html>

<head>

<script type=”text/javascript”>

function pri()

{

document.getElementById(“pr”).style.visibility=hidden;

window.print();

}

</script>

</head>

<body>

Test page for printing

<br>

<input type=”button” id=”pr” value=”Print” onclick=”pri()”>

</body>

</html>

Advertisements