表单元素输入类型=文件默认情况下输入文本框为灰色 [英] form element input type=file has input text box greyed out by default

查看:74
本文介绍了表单元素输入类型=文件默认情况下输入文本框为灰色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Internet Explorer 8(版本8.0.6001.18813)。

我的一位客户向我指出输入类型=文件元素的文本框部分现在显示为灰色并且默认情况下无法输入。他说他曾经能够在大约两个月前输入这个盒子。

这是否与IE的更新有关?

有没有办法允许是否需要再次输入此框?

提前感谢您的帮助,

gsnowden

I am using Internet explorer 8 (version 8.0.6001.18813).

One of my clients has pointed out to me that the text box part of the input type=file element is now greyed out and not able to be typed in by default.  He says he used to be able to type into this box until about two months ago.

Is this to do with an update to IE?

Is there any way to allow text to be entered into this box again?

Thanks in advance for your help,

gsnowden

推荐答案

这是一个安全更新。要阻止诱骗用户在控件中键入本地文件路径的网站,现在用户必须使用"文件浏览"对话框显式选择要上载的文件。
That's a security update. To block web sites that trick the user into typing a local file path into the control, now the user must explicitly select a file for upload using the File Browse dialog.


这篇关于表单元素输入类型=文件默认情况下输入文本框为灰色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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