W3C home > Mailing lists > Public > public-webapi@w3.org > September 2007

Form Serialization Idea

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Tue, 11 Sep 2007 13:22:55 -0700
Message-ID: <c9e12660709111322v4668eb9fr7b43168d5d4a478d@mail.gmail.com>
To: public-webapi@w3.org

I've started a document a while back. It's related to Robin's File and
FileList proposal, taking it a step towards complete FORM
serialization. Robin suggested I post my idea up here, so here goes...

The problem: No standard, reliable way to get FORM data to an Ajax request.

interface HTMLFormElement {
  string getDataSetString(); raises FileException
  string toJSONString(); raises FileException

I've tried to exhaust the pros and cons of other possible solutions,
and provided numerous references here:

The proposed functionality is hand-rolled into every Ajax libary
(using javascript), and the logic to get the FORM's successful
controls is more complicated than it initially would seem. It's
problematic to have to depend on a library when the library components
are interdependent on other library components. For example, use YUI,
jQuery, or Prototype, but don't mix them in the same page.


Programming is a collaborative art.
Received on Tuesday, 11 September 2007 20:23:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC