25.133. Form.elements[]: the input elements of a formDOM Level 2 HTML25.133.1. Synopsisreadonly HTMLCollection elements 25.133.2. Descriptionelements[] is an array-like HTMLCollection of the form elements (such as Input, Select, and Textarea objects) that appear in an HTML form. The elements of the array are in the same order they appear in the HTML source code for the form. Each element has a type property whose string value identifies its type. 25.133.3. UsageIf an item in the elements[] array has been given a name with the name="name" attribute of its HTML <input> tag, that item's name becomes a property of form, and this property refers to the item. Thus, it is possible to refer to input elements by name instead of by number: form.name 25.133.4. See AlsoInput, HTMLCollection, Select, Textarea |