
length
length returns the number of controls in the FORM element.
Syntax
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
|