ubuntu Posted May 14, 2007 Share Posted May 14, 2007 Dear all, I would like to create a print button for my web, the purpose is, when the user click the print button, it will show the print dialog. Anyone know how to create this? Thanks in advance. Regards. Quote Link to comment https://forums.phpfreaks.com/topic/51269-solved-how-to-create-a-print-button/ Share on other sites More sharing options...
jitesh Posted May 14, 2007 Share Posted May 14, 2007 <input type="button" value="print" onclick="javascript:window.print();"> Quote Link to comment https://forums.phpfreaks.com/topic/51269-solved-how-to-create-a-print-button/#findComment-252540 Share on other sites More sharing options...
ubuntu Posted May 14, 2007 Author Share Posted May 14, 2007 Thank you very much bro, this is what I wanted. Quote Link to comment https://forums.phpfreaks.com/topic/51269-solved-how-to-create-a-print-button/#findComment-252543 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.