Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

Learn More

FF after 4.0 does not load Java applet when a <applet> tag is inserted into a span element by JavaScript

  • 1 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 2 ნახვა
  • ბოლოს გამოეხმაურა cor-el

I am a developer using Java, AJAX, and Java Applet. To launch a Java Applet, I use JavaScript to compose a <Applet> tag, and insert this text into a span element. In FireFox 3.5 and 3.6, the browser picked up the change, and launch Java Applet correctly. However, in FireFox 4.0 and 5.0, the same code does not work anymore. The code change is simply ignored. After downgrade to 3.6, the code works again.

I am a developer using Java, AJAX, and Java Applet. To launch a Java Applet, I use JavaScript to compose a <Applet> tag, and insert this text into a span element. In FireFox 3.5 and 3.6, the browser picked up the change, and launch Java Applet correctly. However, in FireFox 4.0 and 5.0, the same code does not work anymore. The code change is simply ignored. After downgrade to 3.6, the code works again.

ყველა პასუხი (1)

Make sure that you use DOM methods like appendChild() or insertBefore() and not modify the innerHTML


A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25