Skip to content

Instantly share code, notes, and snippets.

Olivier Audard dharFr

Block or report user

Report or block dharFr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dharFr / jquery.unserialize-0.2.js
Created Jun 6, 2011 — forked from rcmachado/jquery.unserialize.js
$.unserialize [updated] for jQuery
View jquery.unserialize-0.2.js
* $.unserialize
* Takes a string in format "param1=value1&param2=value2" and returns an object { param1: 'value1', param2: 'value2' }.
* If the "param1" ends with "[]" the param is treated as an array.
* Parses the value as String, Int or Boolean
* @todo: parseFloat could also be useful I guess.
* Example:
You can’t perform that action at this time.