[whatwg] File Upload Control
Hallvord R M Steen
hallvors at gmail.com
Thu Aug 19 02:20:19 PDT 2004
On Wed, 18 Aug 2004 18:33:02 +0200, Olav Junker Kjær <olav at olav.dk> 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.
> It can be useful for showing a thumbnail when the user have selected an
> image for upload. Pass the value to an img src.
This won't work in the newest browsers - restrictions on mixing local
and web content are generally getting stricter and stricter. You may
be able to configure Mozilla to be less strict but AFAIK Opera doesn't
permit it at all.
I don't see any strong reason for blocking JS access to the value
Hallvord R. M. Steen
More information about the whatwg