Simple jquery deserializer plugin that actually works!
JavaScript
Pull request Compare This branch is 12 commits behind itsadok:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
src
test
Readme.md

Readme.md

This is a very simple jQuery plugin providing 'deserialize' functionality to a form elements. In contrary to some other plugins available it doesn't reinvent the wheel (by utilizing native browser methods) and actually works.

Usage

// string = $("#form-id").serialize()
// string = "foo=1&bar=2"
$("#form-id").deserialize(string);

// do not trigger change events
$("#form-id").deserialize(string, {noEvents: true});

Demo

For examples please see demo.html