Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Decodes serialized form data and populates a form with that data.
branch: master

This branch is 35 commits behind kflorence:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
external
src
tests
license-gpl
license-mit
readme.textile
version

readme.textile

jQuery.deserialize (#8980)

$("form").deserialize(data[, callback]);
  • data A serialized String, Array or Object.
  • callback The function that will be executed upon completion.

Decodes serialized form data and populates the form with that data. This method works upon text strings in standard URL-encoded notation, arrays containing objects of name/value pairs or objects containing key/value pairs. Thus, the plugin is compatibile with the data collected using the following methods:

Arguments

The plugin accepts two arguments: data and callback, the latter being optional. Data should contain one of the compatible formats listed above. Callback is a function that will be executed at the completion of the plugin.

Requirements

jQuery.deserialize requires:

License

Copyright © 2011 Kyle Florence
jQuery.deserialize is dual licensed under MIT and GPLv2 licenses.

Something went wrong with that request. Please try again.