Top Level (Example 10.9)-|-Previous Hierarchy Level-|-Return to Chapter Listing
Example 10.9:
The Object Hierarchy
The form Object
A form object has these properties and descendent objects:
- action: A string containing the destination URL for the form submission.
- button: A button in the form.
- checkbox: A checkbox in the form.
- elements array: An array listing form elements in the order in which they appear in the form.
- encoding: The MIME encoding of the form.
- hidden: A hidden element in the form.
- length: The number of elements in the form.
- method: How data input into the form is sent to the server; the METHOD attribute.
- password: A password field in the form.
- radio: A radio button in the form.
- reset: A reset button in the form.
- select: A selection box in the form.
- submit: A submit button in the form.
- target: The name of the window that displays responses after the form has been submitted.
- text: A text element in the form.
- textarea: A textarea element in the form.
Top Level (Example 10.9)-|-Previous Hierarchy Level-|-Return to Chapter Listing