Plugin jQuery: form2js : jQuery library for collecting form data

form2js : jQuery library for collecting form data
http://www.jqueryrain.com/?http://form2js.googlecode.com/hg/example/test.html
http://maxatwork.github.io/form2js/
ms, , jSON, , Plugins, , XML
27/06/2013

Nội dung

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 http://www.json.org/js.html 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.


Nguồn: www.jqueryrain.com/2013/06/form2js-jquery-library-for-collecting-form-data/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận