src code

namespace Form


Utilities for dealing with forms in the DOM.

Form is a namespace for all things form-related, packed with form manipulation and serialization goodness. While it holds methods dealing with forms as a whole, its submodule Form.Element deals with specific form controls.

Many of these methods are also available directly on form elements.


  • Form.Element

    Utilities for dealing with form controls in the DOM.


  • Form.Observer

    An Abstract.TimedObserver subclass that watches for changes to a form. The callback is triggered when the form changes — e.g., when any of its fields' values changes, when fields are added/removed, etc.; anything that affects the serialized form of the form (see Form#serialize).