Using sugarcube 1.x I currently have two buttons in my sidebar. one allows players to re-roll the passage results and another prints the page. I am currently at a stand still because the print button prints the entire page when all im attempting to print is the passage content. Below is my code from my sidebar any help would be appreciated.
<input type="button" value="Re-Roll" onClick="window.location.reload()">
<input type="button" value="Print" onClick="window.print()">