Printing part of the page

Posted by in .NET Framework category on for Beginner level | Views : 5428 red flag

Printing part of the page.

function printPartOfPage(Div)

 var printContent = document.getElementById(Div);
 var windowUrl = 'about:blank';
 var uniqueName = new Date();
 var windowName = 'Print' + uniqueName.getTime();
 var printWindow =, windowName, 'left=50000,top=50000,width=0,height=0');



 return false;


Page copy protected against web site content infringement by Copyscape

About the Author

Full Name: Shekhar Patidar
Member Level: Starter
Member Status: Member
Member Since: 9/25/2008 1:30:38 AM

Login to vote for this post.

Comments or Responses

Login to post response

Comment using Facebook(Author doesn't get notification)