Form.elements[] (Collection)

An array containing a list of elements belonging to a form.


DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera browser - 3.0
Property/method value type:Collection object
JavaScript syntax:-myForm.elements
HTML syntax:<INPUT>

This property actually refers to the parent Form object which contains the elements array content superimposed on its existing properties.

Each item in this array represents an input control element within the form. Each input element is created with a separate <INPUT> tag. Any of the following element types can be present in a form object's elements[] array although it's unlikely you'll see them all there together:

See also:Button object, BUTTON object, Checkbox object, Collection object, FileUpload object, Form object, FormElement object, Hidden object, Option object, Password object, RadioButton object, ResetButton object, Select object, SubmitButton object, TEXTAREA object, TextCell object

Property attributes: