W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: Request for FormData.remove() method

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 26 Apr 2012 16:15:22 +0200
To: public-webapps@w3.org, Bronislav Klučka <Bronislav.Klucka@bauglir.com>
Message-ID: <op.wddlvwrf64w2qv@annevk-macbookpro.local>
On Thu, 26 Apr 2012 15:29:44 +0200, Bronislav Klučka  
<Bronislav.Klucka@bauglir.com> wrote:
> On 26.4.2012 13:55, Anne van Kesteren wrote:
>> Why would you not simply use a JavaScript object for this?
>
> Of course you want to use JS object for this in case of storing in e.g.  
> IDB... the point is, how do you create this object? No, you have to  
> reimplement FormData construction, instead of using it.

So the reason you want FormData is not because of FormData, it's because  
FormData has a hook into HTML's "constructing the form data set".

Not really sure what would be the best solution here.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 26 April 2012 14:16:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT