Hermund
asked on
Problem with HTMLInputFile
Hi!
I'm trying to edit a script made by someone else.
The problem I'm having is that the fileupload module doesn't work?
It says that the value property in HTMLInputFile not can be set.
Where should I look for answers?
Thanks!
I'm trying to edit a script made by someone else.
The problem I'm having is that the fileupload module doesn't work?
It says that the value property in HTMLInputFile not can be set.
Where should I look for answers?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Silly question: Why would you want to modify the property that stores "the full path of the file on the client's computer" anyway?
Yes, it's an HTML limitation/feature. No custom control or fancy code can circumvent that.
Well, the HtmlInputFile.Value property contains the path of the submitted file indicated where _on the client's computer_ it is located. Client. As is browser. Not something the server should have any need or reason to want to change, since it's only indicating where the file came from -- not where it's going or anything else relevant to its handling on the server.
Hence my question above: What it is that you are trying to do that led you to try modifying the HtmlInputFile.Value property? (If we understand that, perhaps we can suggest an alternative way to do it.)
Hence my question above: What it is that you are trying to do that led you to try modifying the HtmlInputFile.Value property? (If we understand that, perhaps we can suggest an alternative way to do it.)
ASKER
Thanks for your help!
This is not my code. I've been assigned the job of fixing code from someone else. I don't know yet why they would want to change the value property.
This is not my code. I've been assigned the job of fixing code from someone else. I don't know yet why they would want to change the value property.
-Baan