While it holds methods dealing with forms as whole, its sub module Form.Element deals with specific form controls.
Prototype Form Methods:
Methods | Description |
Disables the form as whole. Form controls will be visible but uneditable. | |
Enables a fully or partially disabled form. | |
Finds first non-hidden, non-disabled form control. | |
Gives keyboard focus to the first element of the form. | |
Returns a collection of all form controls within a form. | |
Returns a collection of all INPUT elements in a form. Use optional type and name arguments to restrict the search on these attributes. | |
A convenience method for serializing and submitting the form via an Ajax.Request to the URL of the form's action attribute. The options parameter is passed to the Ajax.Request instance, allowing to override the HTTP method and to specify additional parameters. | |
Resets a form to its default values. | |
Serialize form data to a string suitable for | |
Serialize an array of form elements to a string suitable for |
No comments:
Post a Comment