•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 375,174 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,192 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3602 | Replies: 5
![]() |
•
•
Join Date: May 2005
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
I have a form that cannot be "submitted" because the server doesn't accept cgi or php. So I've decided to just accept it and have the visitor fill out the form online and then print it and mail it in.
I know I've used the "Print" button before some time ago, but can't remember how I did it. Can you help me?
I know I've used the "Print" button before some time ago, but can't remember how I did it. Can you help me?
It's just "print()".
You can get PHP hosting affordably. Lots of options. I use a company called "ShinySolutions": http://www.shinysolutions.com
You can get PHP hosting affordably. Lots of options. I use a company called "ShinySolutions": http://www.shinysolutions.com
I'm sorry I wasn't more clear. The function you need to call is "print()". So just change your tag to :
When the user clicks the button, the print dialog box will appear.
<input TYPE="button" VALUE="Print" onClick="window.print();">
When the user clicks the button, the print dialog box will appear.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- Printing using Web Control Print button. (ASP.NET)
- Forms - Print Button (HTML and CSS)
- Help in printing mulitple documents using print button (Java)
- Strange paw print button among IE6's buttons (Web Browsers)
Other Threads in the HTML and CSS Forum
- Previous Thread: Doc. type, CSS and IE's "expression." - ARRRGGH!
- Next Thread: Keep It Simple S****d



Linear Mode