[whatwg] What should the value attribute be for multi-file upload controls in WF2?

Michael A. Puls II wrote:
> Anyway, the use case for .value is:
> 
> ...
>         <p>File to attach: <p>
>         <p><input type="file"
> onchange="document.getElementsByTagName('p')[0].innerHTML +=
> this.value;"></p>
> ...

How is that a use case?  Please explain why outputting the value of the 
control in an adjacent paragraph is useful at all and why authors would 
do it.  The value is visible in the control itself, so that seems 
unnecessary.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Sunday, 22 June 2008 13:46:29 UTC