form2js : jQuery library for collecting form data


Convenient way to collect structured form data into JavaScript object. Because everything is better with jQuery, jQuery plugin added, check out jquery.toObject.js.

This is not a serialization library. Library used in example for JSON serialization is Structure of resulting object defined by name attribute of form fields. See examples below. All this library doing is collecting form data and putting it in javascript object. Obviously you can get JSON/XML/etc string by serializing it, but it’s not an only purpose.

Subscribe to the mailing list:
* indicates required


Pin It on Pinterest