[whatwg] Form Serialization
dhtmlkitchen at gmail.com
Wed Aug 8 13:42:08 PDT 2007
Most libraries now are providing a way to serialize a form.
It would be useful to have:
HTMLFormElement.prototype.toJSONString would return an object literal
that contains the enabled (not readonly) form element names as keys
and an array for each key's value.
aForm.getDataString() would return a serialized data set
representation of the form's successful controls. It would look just
like what you see in a GET query string or a POST body.
This does not cover binary files. Is it feasible to serialize a file?
This does not cover setting values, only reading them.
More information about the whatwg