August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.plugins
document.plugins[index]
The plugins property is an array that contains all the embedded objects and plug-ins that appear within the HTML document from using the <embed> tag. The plugins property has one property of its own, called length, which contains the number of items in the array. The index number ranges from zero to the length minus one.
Note
The plugins[] array property accesses the same data as the document.embeds[] array property.
Listing 7.156 uses the length property to display the number of embedded objects in the HTML document.
<html> <h2>Learn Shapes</h2> ... |
Read now
Unlock full access