[Javascript] dynamically setting the value for a file selectelement

Peter-Paul Koch gassinaumasis at hotmail.com
Mon Sep 22 09:19:17 CDT 2003



> > The problem I am having is with <input type="file"> elements. I have
> > not figured out a way to dynamically set the value of the element.
>
>You won't find a way. You can't read or write to that field due to security
>issues.

You CAN read its value, you just can't set it.

-------------------------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
------------------------------------------------------------------

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the Javascript mailing list