JavaScript Tutorial

Print this page

Well, I don?t know why so many people looking for this script. But here it is. The script below will give you a button or a link to print the current page. It is the same as press the print button at the top of the browser.

<!--- Print current page --->

<!--- A form with a button. --->
<form>
  <input type="button" value="Print" Onclick="javascript:print()";>
</form>
<!--- A link. --->
<a href="javascript:print()">Print</a>

 

Example:

Print current page

 

JavaScript Tutorial test

Print this page

No test is available or implemented for this JavaScript Tutorial.

No User Comments.

No User Comments, be the first one to write your comments?

Add your comments

Your Name*:
Your Email:
Site URL:
Site Name:
Comemt Title*:
Your Comment*:
Key Phrase*:
s8Q
Your IP Address: 38.103.63.62
 

ScandicWeb is own by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.

[Home [Site Map [Privacy Statement [Site Feedback] [About ScandicWeb]


[ColdFusion [Flash [Search Engine Optimization [Graphics [Cascading Style Sheets (CSS) [JavaScript (JS) [Software]

Partner sites: ScandicSoft


Server time: 19. November 2008 Wednesday