Re: File input field in Firefox 3.0
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
[email protected] wrote: > 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 I think this restriction is intentional for security reasons: https://bugzilla.mozilla.org/show_bug.cgi?id=143220 -- Martin Honnen http://JavaScript.FAQTs.com/