Printing Control : Print « Development « JavaScript DHTML






Printing Control



/*
JavaScript Bible, Fourth Edition
by Danny Goodman 

John Wiley & Sons CopyRight 2001
*/

<HTML>
<HEAD>
<TITLE>Print()</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="button" NAME="printWhole" VALUE="Print Entire Frameset" onClick="parent.print()"><P>
<INPUT TYPE="button" NAME="printFrame" VALUE="Print Bottom Frame Only" onClick="parent.display.print()"><P>
</FORM>
</BODY>
</HTML>

           
       








Related examples in the same category

1.Print a page