Sorry if my question was be here earlier, I'm new here ;-)
I have html form where is the tag
<input id="x" type="file" name="upload">
and another fields. After submit script on server take some validation on
some fields and if te error is found the same form is generated with error
reporting message. But the content of the "file" input is lost. I test it in
IE6 and parameter value="???" not work here. I try to put string into input
using javascript but this not work too. Is possible to emulate keyboard
typing in javascript? My idea is something like this
o=document.GetElementById('x');
o.focus();
window.type('c:\pictures\picture.gif');
The last line is non existing command, but exist some like this?
Or anybody have another idea how to fill file-type input?
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)