document.applets.length
|
|
Syntax |
|
The length property contains the number of Applet objects that are in a document. |
<html> <h2>The Applets Page</h2> <applet name="myAddApplet" code="add.class" width=50 height=50 mayscript></aPPLET> <applet name="mySubtractApplet" code="subtract.class" width=50 height=50 mayscript></aPPLET> <script language="JavaScript"> <!--
document.write("There are currently ",document.applets.length);
document.write("applets available on this page. Check back as");
document.write("new applets are added daily.");
-->
</script> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
|