Return caret postion or range of a div in IE8
Posted
by Robin
on Stack Overflow
See other posts from Stack Overflow
or by Robin
Published on 2010-06-08T01:07:10Z
Indexed on
2010/06/08
1:12 UTC
Read the original article
Hit count: 336
JavaScript
|ie8
I am wanting to return the start and end range or the caret postion inside a div. The div will have the attribute contentEditable.
typically I would use document.selection.createRange(); but the createRange function is broken in IE8 is there a way to get around this?
© Stack Overflow or respective owner