title: Keyboard cursor position goes at beginning when I set the text in jquery
body: <p>I am having 1 div and I have set conenteditable attribute to true.</p>
  
  <p>Whenever I change the text of that div the cursor goes to beginning of the line.</p>
  
  <pre><code>var tmp = this.innerHTML;
  
  this.innerHTML = tmp+"123";
  </code></pre>
  
  <p>I do not want the cursor position goes to beginning of the line.</p>