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";
}
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: Printing using javascript
0 Comments:
Post a Comment
<< Home