How to get the file path from HTML input form in Firefox 3

前端 未结 8 1948
臣服心动
臣服心动 2020-11-22 02:12

We have simple HTML form with , like shown below:

8条回答
  •  情书的邮戳
    2020-11-22 02:39

    This is an example that could work for you if what you need is not exactly the path, but a reference to the file working offline.

    http://www.ab-d.fr/date/2008-07-12/

    It is in french, but the code is javascript :)

    This are the references the article points to: http://developer.mozilla.org/en/nsIDOMFile http://developer.mozilla.org/en/nsIDOMFileList

提交回复
热议问题