Skip to content

Decodes serialized form data and populates a form with that data.

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
license-gpl
MIT
license-mit
Notifications You must be signed in to change notification settings

yjo/jquery-deserialize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery.deserialize #8980

$("form").deserialize(data[, options]);

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 name/value pairs. Thus, the plugin is compatibile with the data collected using the following methods:

Arguments

The plugin accepts two arguments: data and options, the latter being optional. Passing the complete() function as the second argument to this plugin is also supported.

  • data String, Array, Object A serialized (and/or encoded) String, an Array of objects containing name/value pairs, or an object of name/value pairs.
  • options Object An object of key/value pairs that configure the plugin.
    • change Function Called for every changed input value.
    • complete Function Called when all of the inputs have been updated.

Requirements

jQuery.deserialize requires:

License

Copyright (c) 2012 Kyle Florence jQuery.deserialize is dual licensed under MIT and GPLv2 licenses.

About

Decodes serialized form data and populates a form with that data.

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
license-gpl
MIT
license-mit

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Vim Script 0.2%