This method returns an object containing a key-value representation of all the inputs inside it. Should usually be useful when used on a form.
How to use
var values = $('myForm').serialize(deep);
The deep argument specifies if you want the to enable deep parsing. This is useful if your form contains query arrays, and you want them to be parsed hierarchically. For more examples look at the demo
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.blog comments powered by Disqus