title: set focus on contenteditable div with jquery
body: <p>Could you help me understand why the div that is retrieving the focus put the cursor on first char on Firefox and IE 10 (but not on chrome)?</p>
  
  <p>Here is the javascript code:</p>
  
  <pre><code>$('div').on('click', function(e) {
      $(this).html($(this).text());
  });
  </code></pre>
  
  <p>Here is the <kbd><a href="http://jsfiddle.net/YLnVE/4/" rel="nofollow"><strong>jsfiddle</strong></a></kbd> with the whole context.</p>
  
  <p><strong>[EDIT]</strong> Could someone tell me why the cursor is going to the beginning of the sentence?</p>