hey jdoggz316,
This link might interest you
http://www.woodger.ca/js_j
it talkisn about JS -> Java interaction
Main Topics
Browse All TopicsI was wondering if anyone has worked with javascript to java communication in FireFox 2.0? (even 1.5 would be similar i suppose) I'm working with an applet and can get the applet to call javascript functions using JSObject of the liveconnect library. The reverse will not work - i've tried using very dated tags such as applet and invoking public methods of the applet such as
document.applet[0].MethodN
doesn't work.
in IE i can invoke methods of the applet through javascript calls such as: dcoument.AppletName.Method
Not in firefox though -
I've tried using object, embed and applet tags in firefox all to no avail.
has anyone any experiences with invoking java applet methods thru javascript in FireFox? (or other mozilla browsers?)
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hey jdoggz316,
This link might interest you
http://www.woodger.ca/js_j
it talkisn about JS -> Java interaction
i mistyped - was doing document.applets[0]
firefox 2.0 just seems to do nothing, i dont get an exception, or a js error - i am calling a method in the applet that just returns "Hello World" tried the scriptable="true" in both the object and applet tag.
The method in the applet is :
public static String GetString()
{
return "Hello World";
}
if that helps - does someone have source from a working implementation in firefox?
Business Accounts
Answer for Membership
by: CEHJPosted on 2007-02-20 at 13:45:49ID: 18574374
>>document.applet[0].Metho dName();
Name();
should be
document.applets[0].Method