January 30, 2001 - Printing Objects in Netscape 6 | WebReference

January 30, 2001 - Printing Objects in Netscape 6

Yehuda Shiran January 30, 2001
Printing Objects in Netscape 6
Tips: January 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

When you send an object to be printed in an alert box, Netscape 6 pops up a window which is very much different than the window that Internet Explorer pops. The difference is that in Netscape 6, the type of the object is also printed, as opposed to Internet Explorer where only the word [object] is being printed. The following example shows two alert boxes. The left box is from Internet Explorer, while the right one from Netscape 6. The one on the right gives you the information about the object: [object HTMLParagraphElement].