Name
applets — NN 2 IE 3 DOM n/a
Synopsis
A collection of all the Java applets in
the current element, sorted in source code order. Navigator and
Internet Explorer let you use array notation to access a single
applet in the collection (e.g.,
document.applets[0]
,
document.applets["clockApplet"]
). Internet
Explorer 4 also allows the index value to be placed inside
parentheses instead of brackets (e.g.,
document.applets(0)
). If you wish to use the
applet’s name as an index value (always as a string
identifier), be sure to use the value of the NAME
attribute rather than the ID
attribute. To use the
ID
attribute in a reference to an applet, access
the object via a
document.all.
elementID
reference.
Object Model Reference
- NN
document.applets[i]
- IE
document.applets(i)
document.applets[i]
Properties
|
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.