3

I'm kind of stuck because I can get JavaScript to send a message to a Java applet. I can get it to work the other way round. Does anyone know a proper way to do this that works everywhere?

3

2 Answers 2

3

You may need to add <PARAM NAME="scriptable" VALUE="true"> to the OBJECT or APPLET tag.

Sign up to request clarification or add additional context in comments.

Comments

2

For calling Java from JavaScript, you can have public methods in your applet that you call from JavaScript. See this post for more information.

For calling JavaScript from Java, you use JSObject.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.