Mayscript is not working in FF3.0.3 when trying to access an applet's method

Bug #274897 reported by George
2
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

Iam working in a Ubuntu Linux 8.04 OS using Firefox 3.0.3 (3.0.3+build1+nobinonly-0ubuntu0.8.04.1 0)

Iam trying to access an applet's method via javascript but iam getting a "is not a function error". I already declared the applet tag with the mayscript property but is still not working.

 <html><body>
<script>
function getSomeValue(){
 alert(document.myApplet.getValue());
}
</script>
 <applet id="myApplet" name="myApplet" code="TestApplet.class" archive="TestApplet.jar"
           width="325" height="325" mayscript="mayscript">
 </applet>
<input type="button" onclick="getSomeValue()"/>
 </body></html>

///*** Actual error: document.myApplet.getValue is not a function

Is there any way around this problem?
Thanks

ProblemType: Bug
Architecture: i386
Date: Fri Sep 26 12:55:33 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: nvidia
Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_MX.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

Tags: apport-bug
Revision history for this message
George (george-sw) wrote :
Revision history for this message
George (george-sw) wrote :

The issue has been solved by uninstalling the Iced tea Java plugin

Changed in firefox-3.0:
status: New → Fix Committed
Przemek K. (azrael)
Changed in firefox-3.0 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.