[whatwg] More input element feedback

Ian Hickson ian at hixie.ch
Wed Aug 12 16:39:25 PDT 2009


On Mon, 3 Aug 2009, Garrett Smith wrote:
> 
> Why did you want valueAsNumber in the first place?
> 
> Why do you need valueAsDate?
> 
> Both of these seem unnecessary, out of place and overcomplicate INPUT.

Both are included as convenience methods to allow authors to get the data 
in a direct form without needing to parse it manually.

-- 
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