Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q757 Can JavaScript call a Java function (as opposed to a Java class using the applet tag)?

You are here: irt.org | FAQ | JavaScript | Java | Q757 [ previous next ]

Yes it can, but the applet has to be loaded at the time of calling the Java function. Use the NAME attribute of the <applet> tag, for example:

document.applets("myAppletname").myFunction()

This does not always work.

Feedback on 'Q757 Can JavaScript call a Java function (as opposed to a Java class using the applet tag)?'

©2018 Martin Webb