applets | NN 2 IE 3 DOM 1
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 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), 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 (in IE only) or document.getElementById("elementID") reference.
Object Model Reference
    document.applets[i]
Object-Specific Properties

length

Object-Specific Methods

item( ) | namedItem( )

length | NN 2 IE 3 DOM 1
| Read-only
Returns the number of elements in the collection.
Example
    var howMany = document.applets.length;
Value
Integer.

item( ) | NN 6 IE 4 DOM 1
item(index[, subindex]) item(index) |
Returns a single applet object or collection of applet objects corresponding to the element matching the index value (or, optionally in IE, the index and subindex values).
Parameters

index

  When the parameter is a zero-based integer, the returned value is a single element corresponding to the specified item in source code order (nested within the current element); when the parameter is a string (IE only), the returned value is a collection of elements whose id properties match that string.

subindex

  In IE only, if you specify a string value for the first parameter, you can use the second parameter to specify a zero-based index that retrieves the specified element from the collection whose id properties match the first parameter's string value.

Returned Value
One applet object or collection (array) of applet objects. If there are no matches to the parameters, the returned value is null.

namedItem( ) | NN 6 IE 6 DOM 1
namedItem(IDOrName) |
Returns a single applet object or collection of applet objects corresponding to the element matching the parameter string value.
Parameters

IDOrName

  The string that contains the same value as the desired element's id or name attribute.

Returned Value
One applet object or collection (array) of applet objects. If there are no matches to the parameters, the returned value is null.