TOC PREV NEXT INDEX

domref



length


length returns the number of controls in the FORM element.

Syntax

num = form.elements
 

Parameters

num is an integer.

Example

if (document.getElementById("form1").length > 1) {
 
  // more than one form control here
 
}
 

Notes

None.

Specification

length


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX