Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Accessing applet element Mac and NS7.1

In NS 7.1 on a Mac OSX I cannot seem to access an applet. Trying:

document.getElementById("theApplet");

freezes the NS 7.1 browser on Mac. Other workarounds such as the following fail as well.

var applets = document.getElementsByTagName("applet");
alert(applets.length); // returns 1, ok.
alert(applets[0]); // browser freezes here.

Accessing elements other than APPLET succeeds. There seems to be a very specific problem with trying to access APPLET in NS 7.1 on a Mac.

Do you have any ideas? Have you encountered this problem?
[592 byte] By [MikeE] at [2007-11-11 7:14:15]