How to hide a caret in IE? (JavaScript)

北战南征 提交于 2019-12-22 06:48:01

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/293657/how-to-hide-a-caret-in-ie-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!