Hello!
I've successfully done this for IE7. FF, no dice.
any ideas? Thanks!
Hello!
I've successfully done this for IE7. FF, no dice.
any ideas? Thanks!
var range= window.getSelection().getRangeAt(0);
alert('Current position: '+range.startOffset+' inside '+range.startContainer);
range.setStart(newParent, textOffset);
range.setEnd(newParent, textOffset);
Ok, I've managed to get caret position in contentEditable div in FF, but not in IE.. Plz post solution for IE