title: Javascript:window.print(); not working
body: <p>I created a simple link to print a page I created. I'm using Google Chrome. But that link is not working. When I checked my console log, I'm getting this message when I click the link:</p>
  
  <p><strong>Maximum call stack size exceeded</strong></p>
  
  <p>Here's the HTML I'm using to create the print:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a href="javascript:window.print();"&gt;Print page&lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thanks for the help!</p>