Javascript Code:Add a Print button for page

Button for printing the page, print the page button .
You can easily add a print button or link to your web page.

 1-Add Print Button

<form><input type="button" value=" Print this page "
onclick="window.print();return false;" /></form>

The button looks like this:


2-Add Print This Link

<a href="#" onclick="window.print();return false;">print</a>

The Print link looks like this: print This Page
Tags: , , ,

Join Us!