[whatwg] File Upload Control

On Wed, 18 Aug 2004, Greg Kilwein wrote:
> 
> After reading this discussion on the Mozilla site about the file upload
> control, from what I've seen, the only purpose of accessing the ".value" of
> a file upload control is to know whether the user has entered a file name.

You could do this in a WF2 UA by checking if

   control.validity.isRequired

...was true or false (assuming you've set required="required").

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

Received on Thursday, 26 August 2004 06:22:47 UTC