Post Preview:
Anyway to hide a button such as a "Print" button when the page has been printed to hardcopy? I have a Print button on my HTML page for
printing but I dont want the Print button to show up on the printed hardcopy output.
Please advise how I can do this with what I have below:
function myprintfunction()
{
window.print();
}
<form>
<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Print" onClick="myprintfunction();">
</form>
Anyway to hide a button such as a "Print" button when the page has been printed to hardcopy? I have a Print button on my HTML page for
printing but I dont want the Print button to show up on the printed hardcopy output.
Please advise how I can do this with what I have below:
function myprintfunction()
{
window.print();
}
<form>
<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Print" onClick="myprintfunction();">
</form>