PROPERTY:
Document::applets
document.applets["appletID"]
This property is an
array containing references to all the named Applet objects in
the current document. These references are stored in the array in the
order in which they are defined in the source code. The "appletID"
argument is used to access items in the array and this can either be a
string containing the applet name as defined within the <APPLET>
tags in the HTML source, or an integer (with '0' being the first item
in the array).
Both examples below return the same results; the first uses the defined
names of the applets and the second uses their reference number within
the array.
Code:
document.applets["appletname1"]
document.applets["appletname2"]
document.applets["appletname3"]
document.applets[0]
document.applets[1]
document.applets[2] |