Is it possible to set the value of an input element of type "file"? Like say I wanted to default it to "c:\test.txt". Can I (or anyone else for that matter) do that somehow?
:afrog:
Printable View
Is it possible to set the value of an input element of type "file"? Like say I wanted to default it to "c:\test.txt". Can I (or anyone else for that matter) do that somehow?
:afrog:
I don't think you can do that as it's a bit of a security issue. For example I could set the default value to a file and then hide the file input box so the user doesn't know they are submitting a file when they post the form.
DJ
I guess you have a point there. Damn.
:cry: