How to add Print button?

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
2/11/2013 5:20:43 PM
Gravatar
Total Posts 62

How to add Print button?

I am trying to add a print button to specific page. Tried simple javascript like below, but printer dialog doesn't open. Any trick to this with mojo?

<form><input onclick="window.print();return false;" type="button" value=" Print this page " /></form>

 

2/11/2013 5:23:17 PM
Gravatar
Total Posts 18439

Re: How to add Print button?

you can't add a form element, try it without that

2/11/2013 5:30:49 PM
Gravatar
Total Posts 62

Re: How to add Print button?

Actually worked. Had to refresh the page Thanks!

You must sign in to post in the forums. This thread is closed to new posts.