如何在< input type ="文件"中显示文件路径/&GT ;? [英] How to show file path in <input type="file" />?

查看:113
本文介绍了如何在< input type ="文件"中显示文件路径/&GT ;?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过< input type =filevalue =path .../> 但无法正常工作。

如何解决?

解决方案

文件输入无法预先填充网页。



这是为了避免如下情况:

 <输入
类型=文件
值=路径到标准位置的加速数据文件
style =display:none>


I tried <input type="file" value="path..." /> but not working.

How to fix?

解决方案

The file input cannot be prepopulated by the webpage.

This is to avoid situations such as:

<input
  type="file"
  value="path-to-standard-location-for-quicken-data-files"
  style="display: none">

这篇关于如何在&lt; input type =&quot;文件&quot;中显示文件路径/&GT ;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆