Re: <body onload="window.print(); window.close();">
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: <body onload="window.print(); window.close();">

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Fri Dec 23 2005 - 17:06:17 CET

stephen@ploughbooksales.com.au wrote:

> <body onload="window.print(); window.close();">
>
> This works correctly (or at least the way I expect it to work under MS
> Internet Explorer, but it cuases Netscape to "crash"
>
> Does anyone have an explanation as to why?

You are trying to close the window that displays the document you want to
print.

PointedEars
Received on Fri Dec 23 20:32:34 2005