JavaScript Tutorial/Document/embeds
Версия от 18:52, 25 мая 2010; (обсуждение)
document.embeds
Syntax
document.embeds
document.embeds[index]
document.embeds.length
The length property contains the number of objects that are in the embeds[] array.
<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>