title: selectionStart-End with textareas
body: <p>I'm having this annoying problem, I can't seem to get the starting and ending index of the selected text in a textarea, all I get is undefined like this:</p>
  
  <pre><code>$('#myarea').selectionStart; // return undefined
  </code></pre>
  
  <p>Did I do something wrong?</p>