Lalit Kumar's Blog
My personal .net codes. Used frequently.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment