Home / Reader & Parser / Serialize Object - Converts HTML form into JavaScript object
Serialize Object - Converts HTML form into JavaScript object

Serialize Object - Converts HTML form into JavaScript object

Download Demo
  • Overview
  • Documents
User Rating: 0/5 ( 0 votes)
Your Rating:

Serialize Object is a jquery plugin that Converts HTML form into JavaScript object

Adds the method serializeObject to jQuery, to perform complex form serialization into JavaScript objects.

The current implementation relies in jQuery.serializeArray() to grab the form attributes and then create the object using the input name attributes.

This means it will serialize the inputs that are supported by .serializeArray(), that use the standard W3C rules for successful controls to determine which inputs should be included; in particular:

  • The input cannot be disabled and must contain a name attribute.
  • No submit button value is serialized since the form is not submitted using a button.
  • Data from <input type="file"> inputs are not serialized.

Source: github.com

Scroll To Top