JavaScript Reference/Javascript Properties/Count — различия между версиями
(нет различий)
|
Версия 21:30, 25 мая 2010
"Count" Example
<source lang="javascript">
<html> <body> <object id="myDhelper"
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b">
</object> <button onclick="alert(myDhelper.blockFormats.Count);"> Number of Block Formats </button> </body> </html>
</source>
"Count" is applied to
<source lang="javascript">
Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | Applied_To |blockFormats* fonts* | +----------------+--------------------------------------------------------------+
</source>
"Count" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the number of block-format elements.
Syntax:
dialogHelperName.collectionName.Count
</source>