【发布时间】:2014-10-23 09:05:34
【问题描述】:
这在 IE 中可以正常工作,但在 chrome 中不行?
IE 将通过按“测试”或输入字段打开文件浏览器
但是chrome只能通过按'test'打开文件浏览器?
http://jsfiddle.net/ut4jedqb/1/
<input id="fileupload" style="display: none;" type="file" name="fileupload">
<label for="fileupload">
test
<input disabled="disabled" id="fil_field" style="cursor: pointer;" placeholder="Choose..">
</label>
【问题讨论】:
标签: html google-chrome input label