HTML输入类型=“文件”在Chrome中不显示文本框 [英] HTML input type="file" in Chrome does not show textbox

查看:132
本文介绍了HTML输入类型=“文件”在Chrome中不显示文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Chrome中遇到了< input type =file/> 的问题 - 它没有在浏览按钮附近显示文本框。在Chrome中显示正常文件输入的最佳方式是什么?

I have problem with <input type="file" /> in Chrome - it does not show the textbox near the 'browse' button. What is a best way to show a normal file input in Chrome?

推荐答案

这是Google chrome和Safari的默认行为。阅读这个博客获取解决方案

This is the default behavior of Google chrome as well as Safari. Read this blog for a solution

这篇关于HTML输入类型=“文件”在Chrome中不显示文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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