How to hide a caret in IE? (JavaScript)
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? 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