Print a page : Print « Development « JavaScript DHTML






Print a page


<html>
<head>
<script type="text/javascript">
function printpage(){
    window.print()
}
</script>
</head>

<body>
<form>
<input type="button" value="Print this page" onclick="printpage()">
</form>
</body>

</html>



           
       








Related examples in the same category

1.Printing Control