« Astroturfing - the online definition | Main | Accounts in PHP - an OO demo »
June 18, 2008
Adding a button to a web page to print the page
How to add a "print me" button on your web page which (err) lets you print your web page ;-)
<form>
<input type=button value="Print me!" onClick="javascript:window.print()">
</form>
Here it is to try out:
Posted by gje at June 18, 2008 05:56 PM