title: How to select a character range in a textarea using Javascript?
body: <p>Simple question - is there any way to select a sub-set of the text displayed in a &lt;textarea&gt; control using Javascript?</p>
  
  <p>e.g. have a function like</p>
  
  <p>selectText(startCharNo, endCharNo, textareaName);</p>
  
  <p>It also needs to be IE6 compatible.</p>