Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


blockFormats Collection

Retrieves a collection of strings that specify the names of the available block format tags.

Syntax

[ oColl = ] Dialog Helper. blockFormats
[ oObject = ] Dialog Helper .blockFormats( iIndex )

Possible Values

oColl A collection of the names of the available block format tags.
oObject Reference to an individual item in the array of elements contained by the object.
iIndex Required. Integer that specifies the zero-based index of the item to be returned.

Example

The following example displays the total number of block formats, and then displays a list of their names.

function testblockFormats() { var a=dlgHelper. blockFormats .count alert(a); // show total number of block formats for (i = 1;i < dlgHelper. blockFormats .count;i++) { var f= f + " " + dlgHelper. blockFormats (i) } alert(f) // show names of all block formats }

Applies To

[ Object Name ] Platform Version
Windows CE:
 
Dialog Helper
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.