View Full Version : Internet Explorer 4 Javascript problem
gigsvoo
01-03-2002, 04:44 AM
I have this command in IE4 client:
<script language=javascript>
Print();
</script>
this script would call the printer dialog box in IE5 and above but in IE4 it got error:
Object Expected
is there any documentation ur can refer to this?
Originally posted by gigsvoo
I have this command in IE4 client:
<script language=javascript>
Print();
</script>
this script would call the printer dialog box in IE5 and above but in IE4 it got error:
Object Expected
is there any documentation ur can refer to this?
hi :D any post which has a :D in the title gets my attention:
<script language=javascript>
window.print();
</script>
hope this helps,
T
Jon Hanlon
01-03-2002, 06:19 PM
IE4 does not have a print() method, it first came in with IE5.
There is some workaround code available, see
http://www.microsoft.com/japan/developer/workshop/author/script/code.htm
or
http://msdn.microsoft.com/library/en-us/dnscrpt/html/dhtmlprint_samplecode.asp?frame=true
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.