I'm finding tons of good, crossbrowser anwers on how to SET the cursor or caret position in a contentEditable DIV, but none on how to GET or find its position...
What I want to do is know the position of the caret within this div, on keyup.
So, when the user is typing text, I can at any point now its cursor's position within the div.
<div id="contentBox" contentEditable="true"></div>
// ... ?
(I'm cross posting at http://stackoverflow.com/questions/3972014/get-caret-position-in-contenteditable-div, because of well... frustrations , but I will update both questions when I find an answer...)