elements property
Retrieves a collection, in source order, of all controls in a given form. input type=image objects are excluded from the collection.
Syntax
| JavaScript | |
|---|
Property values
Type: Object
Array of button, input, select, and textArea objects.
Standards information
There are no standards that apply here.
Remarks
This collection can contain any combination of the button, input, select, and textArea objects. For compatibility with existing Web content, however, input type=image objects are excluded.
A complete list of form controls is provided in the Introduction to Forms.
Show: