PROPERTY:
Document::embeds
document.embeds["embed_objID"
]
This property is an
array containing references to all the embedded objects in the current
document. These references are stored in the array in the order in which
they are defined in the source code. The "embed_objID"
argument is used to access items in the array and this can either be a
string containing the embedded object's name as defined within the <EMBED>
tag in the HTML source, or an integer (with '0' being the first item in
the array).
Both examples below return the same results; the first uses the defined
names of the embedded objects and the second uses their reference number
within the array.
Code:
document.embeds["embed_obj1"]
document.embeds["embed_obj2"]
document.embeds["embed_obj3"]
document.embeds[0]
document.embeds[1]
document.embeds[2] |