This property actually refers to the parent Form object which contains the elements array content superimposed on its existing properties.
Each item in this array represents an input control element within the form. Each input element is created with a separate <INPUT> tag. Any of the following element types can be present in a form object's elements[] array although it's unlikely you'll see them all there together:
Button
Checkbox
FileUpload
Hidden
Option
Password
Radio
Reset
Select
Select (multiple)
Submit
Text
Textarea
Prev | Home | Next |
Form.elements.length | Up | Form.encoding |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |