How开发者_开发技巧 do i get the full path of the file in Firefox with JavaScript?
Thanks in advance!
Basically, you can't, for security reasons.
However, the new/upcoming File API allows you to do just about everything you might want to do by getting the file's full path, without giving you the file's full path. You can read the file (yes, client-side), get a data-URI for it, etc. Example and details in this other question here on SO.
精彩评论