Attribute for
<APPLET ...> NAME NAME
For example, the My Applet applet allows you to set the text of the applet with its
<APPLET CODE="MyApplet.class" HEIGHT=75 WIDTH=300 NAME="MyApplet"> <PARAM NAME=TEXT VALUE="type something in the field"> </APPLET> <FORM> <INPUT NAME="settext"> <INPUT TYPE=BUTTON VALUE="set applet text" onClick="document.applets['MyApplet'].setText(this.form.elements['settext'].value)"> </FORM> which gives us this applet and form:
|