title: set cursor on a div element?
body: <p>How do I set the cursor on a div-element in javascript?</p>
  
  <p>I have a form(div-element not input) with a textstring attached on it. I want the textstring removed and the cursor set at the beginning of the element onclick.</p>
  
  <p>I have removed the content in the div-element with onclick event with: <code>divElement.innerHTML = '';</code></p>
  
  <p>Now I want the cursor to be set?</p>