Hi,
I am using window.print to print a web page. But the problem is the print button is also printed.
Is there a way to hide the button as to not appear when I print the form.
Many thanks.
Printable View
Hi,
I am using window.print to print a web page. But the problem is the print button is also printed.
Is there a way to hide the button as to not appear when I print the form.
Many thanks.
It's possible with CSS2.
Look up @media print and @media screen - different styles for different media types.
You can assign a class to your print button and then set the visibility to hidden for print.
HTH
DJ