File input field in Firefox 3.0

[email protected]
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <5a4490aa-4e03-4be7-9003-5833b7c1d2c6@a32g2000prf.googlegroups.com>
Hello people,

In firefox 3.0, I couldn't get the file path from a HTML input file
field using javascript.

If i browse and select a file and use javascript to retrieve the full
file path using document.getElementById('id').value, I'm just getting
the file name

for ex: sample.txt

but in earlier versions of firefox we get this as "c:\sample.txt"

I very well know that, getting the full file path is not necessary,
but for my purpose it is.

Is there a way to get the full file path instead of just the filename
from the file input field using javascript.

or I need to use XPCOM, if so how is it ???

I don't know, but I badly need this to be done.......what will be the
workaround for this ???

Thanking You,
Arun
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.