Closed
Bug 582208
Opened 15 years ago
Closed 15 years ago
Malfunction of "value" method in javascript when applied to a inputFile(contains a path)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 405630
People
(Reporter: zogeid, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Hi, when using a .vale javascript function(i.e.):
document.getElementById("form1:inputFile1").value;
related to an inputFile(i.e.):
<t:inputText id="inputFile1" value="xxxxxx"/>
Firefox just gets the name of the file, cutting the path(i.e.):
"diego.jpg" instead of "C:\diego.jpg"
Not allowing the upload of the file.
Reproducible: Always
Steps to Reproduce:
Try the code above in the "details" section.
Actual Results:
Value javascript method doesn't work, as it doesn't find the file.
Expected Results:
Upload the file.
It's quite severe as every web uploading a file as attachment just as yahoo will not work(this is tested).
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•