Jump to content

Don't Print Buttons


mickeymouse
 Share

Recommended Posts

The link you gave me is not at all clear.  It only gives an example instead of explaining/teaching.

However, I came up with the following and it works:

<style>
@media print {.noprint {display: none !important;}}
</style>

<input type=\"button\" value='Print'  class='noprint' onclick='myprint()'>

function myprint()
{window.print();}

Thanks for your help.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...