I am having some dynamic content that should be shown only in the printing page and not in the web page using CSS or javascript. Please help me to do this.
For example;
I am having a div content like this..
echo '<div id="noshow">'.$val.'</div>'; //i am using php and $val is a dynamic value.
I need to show this value only in the printing page and not in the browser page. I used display:none. But, I don't know how to make it to display again in the printing page.
@media print { #noshow { display: none; } }.