»
EnglishFrenchVietnamese

Print - Window Print Method - JavaScriptBank.com

Full version: jsB@nk » Snippet » Window Print Method
URL: https://www.javascriptbank.com/window-print-method.html

Window Print Method © JavaScriptBank.comAdd a button to allow your visitors to print your Web page. Compact and simple, yet highly requested.

Full version: jsB@nk » Snippet » Window Print Method
URL: https://www.javascriptbank.com/window-print-method.html



CSS
<style type="text/css">@media print {input.noPrint { display: none; }}</style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<input class="noPrint" type="button" value="Print This Page" onclick="window.print()"><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->