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 - 2024 psacake.com
Version 7.21 | Advertise on this site