
|
|
||
Attribute for
<APPLET ...>NAMENAME
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:
Copyright Idocs, Inc. Written by Miko Sullivan |
||
| About the NetVisits, Inc Network | Advertise Developer Tutorials hosted by HostGator. Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy. |