posted 24 years ago
Your bottom Frame must have a name. Let's say it's "BFRAME". Your Applet must have also been given a name. Let's say it's "BApplet". You can refer to your applet from an HTML script event using the name of the Applet and the proper document referencing such as:
<FORM NAME=form1>
<INPUT TYPE=Text NAME=field1 LENGTH=50 onChange="top.BFRAME.document.BApplet.mymethod(param1,param2,...)">
</INPUT>
</FORM>
You must reference the parent window "top" first, then the frame name "BFRAME", then "document", then your Applet name (from NAME= in <APPLET> tage), and then the methods. Put literals in single quotes.