[whatwg] Adding FormData support to <form>
Jonas Sicking
jonas at sicking.cc
Thu Feb 18 14:06:12 PST 2010
On Wed, Feb 17, 2010 at 11:30 PM, Anne van Kesteren <annevk at opera.com> wrote:
> On Thu, 18 Feb 2010 00:15:25 +0100, Jonas Sicking <jonas at sicking.cc> wrote:
>>
>> So I suggest we add a method like
>>
>> interface HTMLFormElement : HTMLElement {
>> ...
>> FormData getFormData();
>> ...
>> };
>
> Should we name it toFormData() instead for consistency with <canvas>? Or is
> <canvas> inconsistent with something else?
There are much more functions that are named "getX" than "toX" in the
DOM. Such as getElementById, getElementsByTagName,
getBoundingClientRect.
/ Jonas
More information about the whatwg
mailing list