Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q1154

Feedback on: irt.org FAQ Knowledge Base Q1154

Sent by Wally Kissel on April 21, 2000 at 14:51:19: - feedback #1124

Worth:
Very worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
Cannnot get this to work!


Sent by Wally Kissel on April 21, 2000 at 21:58:49: - feedback #1126

Worth:
Very worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
After granting priv to do this I was still unable to set the value of the FILE form element
(i.e. document.myForm.myFile.value="test" then alert(document.myForm.myFile.value) was blank {not undefined}; )
Any suggestions?


Sent by Sonya Kapoor on August 01, 2000 at 01:07:18: - feedback #1560

Technical:
Not technical enough

Comments:
i am doing the similar thing as explained here in NN4.7 but its not working, i think the solution suggested is not complete....
Thanks.


Sent by John Myczek on August 28, 2001 at 09:33:11: - feedback #3102

Comments:
Could not get this to work.
How do you do this with Internet Explorer (4.0 and above)?


Sent by Saravpreet Minhas on January 31, 2002 at 11:50:37: - feedback #3549

Length:
Just right

Comments:
Well done..this is working...


Sent by Michael Warby on March 26, 2002 at 05:26:34: - feedback #3722

Worth:
Worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
What about in Internet Explorer ?


Sent by yaara on Monday July 30, 2007 at 00:33:13 - feedback #4855

Worth:
Not worth reading

Length:

Technical:

Comments:
i have this solution for IE
function uploadNewValue(newValue)
{
var fileName = document.getElementById("filMyFile");
var lngth = fileName.value.length;
if (fileName.value.length>0)
{
var valIndex = fileName.outerHTML.indexOf("value=");
var nameIndex = fileName.outerHTML.indexOf("name=");

var strBiggin = fileName.outerHTML.substring(0,valIndex);
var strEnd = fileName.outerHTML.substring(nameIndex,fileName.outerHTML.length);
fileName.outerHTML=strBiggin+" newValue='' "+strEnd;
}
}





Sent by nkamp on Monday November 10, 2008 at 08:32:21 - feedback #5328

Worth:
Worth reading

Length:

Technical:

Comments:
Well that qualified this item as worth reading is just because of that I'm looking for such a thing. But the solution for IE mentioned by yaara seems to me that it is not working!!
Have somebody else another experience? Or does it depends on the browser version? We have here IE6.0. It is for internal application so security is not the most important issue!




Sent by Webdude on Sunday November 30, 2008 at 21:19:27 - feedback #5332

Worth:
Not worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
The solution for IE does not work, and I'm guessing whoever suggested this never tested it.
When you inspect the outerHTML value of a type='file' input field, there is never any "value=" attribute,
and if you rewrite the html (with outerHTML), then reexamine the outerHTML, there is still no "value=".




©2018 Martin Webb