I followed one example:
I have a print image button. When clicked, the button opens the print dialog and then I want to hide the image button.
But, initially I am not able to see the print button to click on it.
<link href="style-print.css" rel="stylesheet" media="print" type="text/css">
#print {
display: none;
}
<div style="float: right;" id="print">
<input id="print-bnt" type="button" onclick="callprint()"/> </div>
I hope before display the page, button goes to hide. (???)
I want to hide the "print button" after it's clicked.
What do I have to change here?