如何在IE中的上传控件中禁用光标闪烁 [英] How to disable cursor blink in upload control in IE

查看:71
本文介绍了如何在IE中的上传控件中禁用光标闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在IE的上载控件中禁用光标闪烁

How to disable cursor blink in upload control in IE

推荐答案

一种解决方案是让控制区域在您希望获得焦点时立即调用blur()被抑制的光标.

一旦您希望该区域变为可选区域,您当然需要添加逻辑以防止这种行为.

这是TextBox控件的基本示例
http://jsfiddle.net/3V8F6/1/ [
One solution is to have the control area immediately call blur() when it gains focus while you want the cursor to be suppressed.

You will of course need to add logic to prevent this behavior once you want the area to become selectable.

Herez a basic example for TextBox control
http://jsfiddle.net/3V8F6/1/[^]


这篇关于如何在IE中的上传控件中禁用光标闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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