I\'m finding tons of good, crossbrowser anwers on how to SET the cursor or caret index position in a contentEditable element, but none on how to GET or find its
contentEditable
Try this:
Caret.js Get caret postion and offset from text field
https://github.com/ichord/Caret.js
demo: http://ichord.github.com/Caret.js