Tag Archives: javascript

Funny “Print preview failed” bug in Google Chrome

3 links to print current page in HTML: <a href=”#” onclick=”window.print();”>print it #1</a> <a href=“#” onclick=“window.print();return false;”>print it #2</a> <a href=“javascript:window.print()”>print it #3</a> Question: What is wrong with one of them? Same links clickable: print it #1, print it #2, … Continue reading

Leave a comment