Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Java | Q757 [ previous next ]

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

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)?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.