Print a page : Print « Development « JavaScript DHTML
- JavaScript DHTML
- Development
- Print
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