According to the information in MSDN, the window.print() method is only
available in IE 5.0 and above.
Jacques
----- Original Message -----
From: "miaoju luo" <luomiaoj@h...>
To: "javascript" <javascript@p...>
Sent: November 27, 2000 7:13 PM
Subject: [javascript] Problem about print
> Hi, I am having a problem with Printing in IE4.02 (with servicePack2).
> here is the code on how to print:
> <input type="button" value="Print a Copy" name="cmdPrint"
> onClick="window.print();">
>
> It works fine with IE5.5, but not with IE4.02. Any idea?
> Is there any universal print function works for all kinds and different
> versions of browser? Thanks.
>
>
> Miaoju:)
>