JavaScript Reference/Javascript Collections/applets
Содержание
"applets" Example
<html>
<body>
<input type="button"
value="Retrieve the number of applets in this document"
onclick="alert(document.applets.length);"><br>
</body>
</html>
"applets" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |document |
+----------------+--------------------------------------------------------------+
"applets" JavaScript properties and JavaScript methods
JavaScript properties and JavaScript methods
item(), length, namedItem(), tags(), urns()
"applets" Syntax Parameters and Note
Note:
Returns an array of all <applet> elements in the document.
Syntax:
document.applets // returns all applets
document.applets(param1, param2) // returns an individual applet
param1 Required; zero-based index or
desired member"s id or name attribute.
param2 Optional; zero-based index if param1 matches more than one element.