[Bug 274897] [NEW] Mayscript is not working in FF3.0.3 when trying to access an applet's method

George george_sw at hotmail.com
Fri Sep 26 18:04:52 UTC 2008

Public bug reported:

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.

function getSomeValue(){
 <applet id="myApplet" name="myApplet" code="TestApplet.class" archive="TestApplet.jar"
           width="325" height="325" mayscript="mayscript">
<input type="button" onclick="getSomeValue()"/>

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

Is there any way around this problem?

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
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

** Affects: firefox-3.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: apport-bug

Mayscript is not working in FF3.0.3 when trying to access an applet's method 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.

More information about the Ubuntu-mozillateam-bugs mailing list