August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.applets
document.applets[index]
The applets property is an array that contains all the Applet objects that appear within the HTML document from using the <applet> tag. The applet property has one property of its own, called length, which contains the number of Applet objects in the array. The index number ranges from zero to the length of the array minus 1. See " Applet, " earlier in this chapter, for a detailed explanation of all the properties associated with applets.
Listing 7.55 includes two fictitious calculator applets that are embedded in the HTML document. Using the applets array, the names of the calculators are displayed on the ...
Read now
Unlock full access