如何隐藏IE中的插入符号? (JavaScript的) [英] How to hide a caret in IE? (JavaScript)

查看:89
本文介绍了如何隐藏IE中的插入符号? (JavaScript的)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在wysiwyg编辑器上方显示弹出窗口时,插入符号(文本区域中的光标)仍然在弹出窗口下可见。任何想法?

While displaying a pop-up window above a wysiwyg editor, the caret (cursor in text area) is still visible under the pop-up window. Any ideas?

推荐答案

我想到的第一个想法是模糊()textarea或把焦点放在别处。当然,我认为WYSIWYG编辑器使用简单的textarea,而不是更复杂的DHTML组件。

First idea coming to my mind is to blur() the textarea or put the focus elsewhere. Of course, I suppose the WYSIWYG editor uses a simple textarea, not a more complex DHTML component.

这篇关于如何隐藏IE中的插入符号? (JavaScript的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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