elements
all
alt
ch
dir
for
id
low
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

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