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