JSPM

jquery-serializeobject

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2310
  • Score
    100M100P100Q119897F
  • License MIT

The missing form serializer for jQuery

Package Exports

  • jquery-serializeobject

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jquery-serializeobject) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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).