I have a simple print functionality using an onClick event:
<input type="submit" name="submit_button" value="Print" onClick="Javascript:window.print();" class="btn">
This works okay, but I would like the same window to close after the print command was given. Is there a way to combine multiple onClick events?
Thank you.