jQuery - Unserialize a Serialized String

jquery, serialization

Solution

I ended up finding a jQuery plugin that did the trick:

https://github.com/kflorence/jquery-deserialize

All I had to do was include the file and call the function, it took care of the rest.

Problem

In jQuery is there a way to take a serialized string, that was serialized by jQuery, and unserialize the string and place the values into a form in the right location (ie. insert text into input fields and text fields check the correct checkboxes and radio buttons and choose the correct select option). Or will I need to make a script that will plug in the values for the fiels directly?

Original source