[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.
<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
** 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
https://bugs.launchpad.net/bugs/274897
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