On a PHP Page there is a print button/link. I want to print this page without printing the print button/link. Also, after printing the page another page should open. Can this be done? And how?
@HuevoosJan 24.2006 — #Don't use Javascript to perform a simple stylesheet function. [/QUOTE] That should work great, but I would change the id=btn1 for a class=btn1 it's likely that you'd want another thing to be invisible, here is the code <style> @media print { .btn1 {display:none;} } </style> <form><input type="button" value=" Print this page " class="btn1" onclick="window.print();return false;" /></form>