July 1998
Intermediate to advanced
1456 pages
65h 5m
English
NAME — NN 2 IE 3 HTML 3.2
NAME=”elementIdentifier"Optional
If you are scripting an applet, it is usually more convenient to
create a reference to the applet by using a unique name you assign to
the applet. Then, if you edit the page and move or delete multiple
applets on the page, you do not have to worry about adjusting index
values to array-style references. In IE 4, you have the option of
omitting the NAME attribute and using the
ID attribute value in script references to the
applet object.
<APPLET NAME="clock2" CODE="ScriptableClock.class" WIDTH=400 HEIGHT=50> </APPLET>
Case-sensitive identifier.
None.
[window.]document.applets[i].name
[window.]document.appletName.name
Read now
Unlock full access