I have a form that cannot be submitted because the server doesn't accept cgi or php. So, I've decided to just have the user fill it out, print it and mail it in with payment.

I know I've used the "print" button before, but it's been a long time and I can't remember the code. Can you help me?

Recommended Answers

All 2 Replies

<a href="#" onclick="window.print()">Print me!</a>

Thanks Dave. That's just what I was looking for!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.