Javascript Reference
Categories: applets

javascript applets Description

@March 15, 2008, 1:22 a.m.
appletsFirefox/Netscape/NN 2 IE 3 Chrome/Safari/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( )

Powered by Linode.