all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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

p = object.elements

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:
© 2014 Microsoft