Thursday, August 25, 2011

Print A Web Page Javascript


It is just a small function name window.print() you need to call on a button click:-
<input type="button" name="Print" value="Print" onclick="window.print();" />






No need to write anything else

No comments:

Post a Comment