Syntax
document.embeds
document.embeds[index]
The embeds property is an array that contains all the embedded objects and plug-ins that appear within the HTML document from using the
The embeds property has one property, called length, which contains the number of items in the array.
The index number ranges from zero to length - 1.
The embeds array property accesses the same data as the document.plugins array property.
<html>
<h2>A Circle</h2>
<embed src="circle.gif">
<h2>A Square</h2>
<embed src="square.gif">
<script language="JavaScript">
<!--
document.write(document.embeds.length," embedded objects.");
-->
</script>
</html>