Printing a document with JavaScript

The folling button will print the entire document.


<p><input type=button name="cmdPring" value="Print Document" onClick="parent.print()"></p>
The folling button will print a frame.


<input type=button name="cmdPring" value="Print Document" onClick="parent.framename.print()">


javascripts print print from frames print button


Back To Top
© 1998 - 2017 psacake.com | My3C's

Version 7.2 | Advertise on this site