View Full Version : print this page?
Cornbread
09-29-01, 04:55 PM
what is the html code for placing a button that says "print this page"?
thxs
I hope this is what you want.
<input type="button" value="Print this page">
tryn
Cornbread
09-29-01, 06:36 PM
that worked as for placing a button on the page, but i need it to "print the page" when clicked.
thanks for the help :)
Here is a way to do it using JavaScript
<input type="button" value="Print this page" onClick="window.print()">
this will print out everything on the page as far as I can tell.
I found it Here
http://www.scriptsearch.com/
lots of cool stuff at that site.
hope this will help
Tryn
Cornbread
09-29-01, 11:44 PM
cool! that will work. thanks again for all the help. :)
You are welcome I'm glad I could help
tryn
Powered by vBulletin® Version 4.2.4 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.