Contents Index Topic Contents | ||
Previous Topic: children Next Topic: embeds |
elements
Description
Retrieves a collection, in source order, of all elements in a given form. This collection can contain any combination of INPUT, SELECT, and TEXTAREA elements.
Syntax
object.elements(index)
Parameter Description object A FORM element. (index) Optional. An integer or a string specifying the index value of the element to retrieve. Integer indexes are zero-based, meaning the first element in the collection has index 0. A string index is valid only if the string is a name or identifier of at least one element in the document. Remarks
This collection is indexed first by name, then by identifier. If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must subsequently be referenced by ordinal position.
Property
Methods
Applies To
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.