[whatwg] Any way to submit only those parts of a form that havechanged?

Ian Hickson ian at hixie.ch
Thu Jan 6 09:40:28 PST 2005


On Fri, 31 Dec 2004, dolphinling wrote:
> Ian Hickson wrote:
> > On Mon, 13 Dec 2004, dolphinling wrote:
> > 
> > > As far as I can tell, for textareas (and input type='text', etc.) 
> > > The value of '' (i.e., empty) is submitted normally, so that 
> > > wouldn't be a problem.
> > > 
> > > For an easy workaround for the checkbox problem, input 
> > > type='checkbox', 'radio', and select (any others?) could just always 
> > > be submitted.
> > 
> > That would break existing content, though.
> 
> How would it? checkbox/radio/select are always submitted now, so they 
> would act the same as they do currently.

No, they are only submitted when selected.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list