TechShri from Shriniwas Wani

Custom Search

01 February, 2007

Javascript : Print Functionality

Guys

Use following JavaScript function for printing bill/form information submitted. When print button is clicked it will take snapshot of page in memory ( Hide the button first and again show it ).

function PrintApplication()
{
document.all("btnProceed").style.visibility="hidden";
document.all("btnProceed").style.display="none";
window.print();
document.all("btnProceed").style.visibility="visible";
document.all("btnProceed").style.display="inline";
}

Labels:

0 Comments:

Post a Comment

<< Home