Is there anyway to automatically run: javascript:window.print() when the page finishes loading?
+7
A:
<body onload="window.print()">
or
window.onload = function() { window.print(); }
Greg
2008-10-27 22:18:07
The second variation is the preferred method.
staticsan
2008-10-27 22:24:45