W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [XHR2] FormData for <form>

From: Sergiu Dumitriu <sergiu.dumitriu@gmail.com>
Date: Tue, 14 Sep 2010 20:24:25 +0200
Message-ID: <4C8FBDD9.8010600@gmail.com>
To: Webapps WG <public-webapps@w3.org>
On 09/14/2010 07:46 PM, Jonas Sicking wrote:
> Hi All,
> There was some discussions regarding the syntax for generating a
> FormData object based on the data in an existing<form>. I had
> proposed the following syntax
> myformelement.getFormData();
> however it was pointed out that the downside with this API is that
> it's not clear that a new FormData object is created every time.
> Instead the following syntax was proposed:
> new FormData(myformelement);
> however I don't see this syntax in the new XHR L2 drafts. Is this
> merely an oversight or was the omission intentional?
> I'm fine with either syntax, but since we're getting close to shipping
> Firefox 4, and I'd like to include this functionality (in fact, it's
> been shipping for a long time in betas), I'd like to see if how much
> consensus the various proposals carried.

+1 for new ForData(formElement)

Sergiu Dumitriu
Received on Tuesday, 14 September 2010 18:25:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:11 UTC