I now little to none on JS and I have a web page that I would like to add a print button too. Which acts as tek-tip does, "printer-friendly page"
thank you
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
You can say
<a href="javascript: window.print()">Print Page</a>
But you are not able to print just a selection unless you use CSS to hide eveything else for printing. The user can print just a selection using their print dialog box, but you don't have control over that
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.