Element.serialize 1.1

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.



Details

Author
Arieh Glazer
Current version
1.1
GitHub
arieh/Element.serialize
Downloads
3267
Category
Forms
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.2.4 : [Element]

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


Discuss

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