jquery-serializeobject
v1.0.0
Published
The missing form serializer for jQuery
Downloads
5,915
Maintainers
Readme
jQuery.serializeObject
The missing jQuery form serialisation function.
jQuery comes with the built-in serialize
and serializeArray
, which though
useful, are not always what you need, especially when dealing with a RESTful
backend that you talk to with JSON messages.
This tiny plugin creates a simple object where the key is the form element name and the value is the value or an array of values (if multiple form elements have the same name).