InputArray object (Object/browser)

A collection of identically named input elements.

Availability:

JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Inherits from:Collection object
JavaScript syntax:-myInputArray = myDocument.aFormName.anElementName
IEmyInputArray = myDocument.all[aName]
-myInputArray = myDocument.forms[aFormIndex].anElementName
-myInputArray = myDocument.getElementsByName(aName)
-myInputArray = myDocument.getElementsByTagName("INPUT")
Argument list:aNameAn associative array reference
aFormIndexA reference to a particular form in the forms collection
anIndexA valid reference to an item in the collection
Object properties:length

You may encounter this if you have several Input objects with the same name. It is better to make sure they have unique names.

Warnings:

See also:Input object

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
length1.2 1.23.0 3.04.0 4.04.0 4.0 n/a n/a n/a n/a n/a n/aWarning

Inheritance chain:

Collection object