Javascript:window.print(); not working

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:

Maximum call stack size exceeded

Here’s the HTML I’m using to create the print:

<a href="javascript:window.print();">Print page</a>

Thanks for the help!


Source: New Questions

Leave a Reply