Randy Webb <> wrote:
>You get that error message because you can't programatically set the
>value of a file input element. It's a security violation.
He's not trying to. He's retrieving the value of the <input
type="file"...> and assigning that to an <input type="text"...>
element.
Why he needs to do that, I don't understand. The "file" element
includes a text box that gets set to the name of the file selected. It
seems that would show the exact same thing that he's trying to show in
his "text" box.
--
Tim Slattery