Accessing the Method of an Applet Object : Applet « HTML Tags « JavaScript Tutorial






<html>
    <applet name="calculator" code="calculator.class" width=50 height=50></applet>
    <script language="JavaScript">
    <!--
    document.write("2+5=",calculator.add(2,5);
    -->
    </script>
    </html>








21.3.Applet
21.3.1.Applet
21.3.2.Accessing the Method of an Applet Object