There is a nice article (http://the-stickman.com/web-development/javascript/finding-selection-cursor-position-in-a-textarea-in-internet-explorer/)
I found comments particularly useful. jQuery HowTo Resource - http://jquery-howto.blogspot.com 2009/1/9 RSol <viacheslav.rud...@gmail.com>: > > I write WYSWYG editor and use to editing 'div' tag with .attr > ('contentEditable','true').... > > On 9 янв, 08:23, "jQuery Lover" <ilovejqu...@gmail.com> wrote: >> Here is how to simulate a backspace in javascript: >> >> getElementById('yourTextBox').Select(TextBox1.SelectionStart - 1, 1) >> getElementById('yourTextBox').SelectedText = " >> >> jQuery HowTo Resource - http://jquery-howto.blogspot.com