document.plugins.length : plugins « Document « JavaScript Tutorial






The length property contains the number of objects that are in the plugins[] array.

<html>
    <h2>A Circle</h2>
    <embed src="circle.gif">
    <h2>A Square</h2>
    <embed src="square.gif">
    <script language="JavaScript">
    <!--
    document.write(document.plugins.length," embedded objects.");
    -->
    </script>
    </html>








14.31.plugins
14.31.1.document.plugins
14.31.2.document.plugins.length