FormArray.length (Property)

The number of forms in the form array.

Availability:

JavaScript - 1.0
JScript - 3.0
Internet Explorer - 4.0
Netscape - 2.0
Property/method value type:Number primitive
JavaScript syntax:-myFormArray.length

This property yields the number of forms in the document. Each form is represented by its own individual Form object.

The length property is consistent across Netscape and MSIE in that it reports the number of unique Form objects that are available. However, this is not the length of the array in Netscape because additional elements are placed into the array to access the Form objects associatively by name.

Warnings:

See also:Collection.length

Property attributes:

readonly