Forum Moderators: open
The standard way:
<a href="#" onClick="javascript:window.print(); return false;">PRINT PAGE</a>
Fails with a javascript error on Mac IE 5.2 only.
Note:
I did come across some code that checked for (window.print) before coding the link:
if (window.print) {
document.write('<input type="button" onclick="window.print()"'+
' value="Print This Page">'); }
When I plug this code into my page, the button appears on all platforms and browsers EXCEPT Mac IE 5.2
Does this mean that Mac IE 5.2 simply does not support the window.print?
Thanks for any help!
As far as I know, IE/Mac doesn't support
window.print at all.