Closed
Bug 309774
Opened 19 years ago
Closed 19 years ago
Javascript issues with APPLET
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kforth, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 I will leave a sample page up for a while at http://server6.onlineproject.com/Tests/City2004/PadKLL2C.nsf/testing?OpenForm . I am unable to get the applet using document.applets. I can get the applet using document.getElementsByTagName('APPLET'). After doing so, however, I cannot get it's properties. For example, outerHTML comes back as undefined. Reproducible: Always Steps to Reproduce: 1. Open the webite provided in Firefox - DO NOT use IE. The second alert will crash IE. 2. On open, an IBM/Lotus applet will run. Javascript will attempt to throw a DIV around this applet. 3. The first alert you will see contains the outerHTML of the applet. 4. The second alert contains the outerHTML of the applet after attempting to add a DIV around it. To see this in IE (without the second alert - which causes a crash) go to http://server6.onlineproject.com/Tests/City2004/PadKLL2C.nsf/testingIE?OpenForm Actual Results: Java applet does not have DIV tags set & is unavailable. Expected Results: Correctly set DIV tags around the applet.
Comment 1•19 years ago
|
||
Welcome to the frustrating world of cross-browser development. You'll find that something like http://forums.mozillazine.org/viewforum.php?f=25 is a much better way to find out how to work with Firefox and Gecko - in bugzilla you'll mostly just be told "INVALID" when you try to do something that shouldn't work. ap = document.applets[0] and ap = document.applets['dominoActionBar'] will both work, but we don't do the Microsoft-proprietary outerHTML (despite doing innerHTML), so you'll need to do that another way.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•