dojo/dom-form

Project owner:Eugene Lazutkin
since:V1.7

This module defines form-processing functions. The convention for the return variable for this module is domForm.

Features

AMD Features

  • domForm.fieldToObject

    Serialize a form field to a JavaScript object.

  • domForm.toObject

    Serialize a form node to a JavaScript object.

  • domForm.toQuery

    Returns a URL-encoded string representing the form passed as either a node or string ID identifying the form to serialize.

  • domForm.toJson

    Create a serialized JSON string from a form node or string ID identifying the form to serialize.

Legacy features are set in dojo/_base/xhr.

See also

API Reference: dojo.dom-form

Error in the documentation? Can’t find what you are looking for? Let us know!