Is there a jQuery plugin out there that can serialize a form, and then later restore/populate the form given the serialized value? I know the form plugin can serialize as a
A big thank you to Barnabas Kendall for his answer, very useful.
However I found 1 error in it regarding restoring radio buttons, where instead of selecting the correct one it just copied the saved value to all buttons in group.
Fortunately it's simple to fix. Just replace
if(this.type == 'checkbox') {
With
if(this.type == 'checkbox' || this.type == 'radio') {
and it will correctly update radio buttons