title: jQuery - Position cursor AFTER inserting text in textarea
body: <p>My question is simple, but I can't figured it out.</p>
  
  <p>I'm inserting text in the textarea, using a method that I found around <a href="https://stackoverflow.com/questions/1064089/inserting-a-text-where-cursor-is-using-javascript-jquery">here</a>. That method, insert the text in the actual cursor position, that's fine.</p>
  
  <p>But I want to position the cursor between the inserted text.
  The text I'll be inserting is:<code>****</code>, <code>__</code>, <code>~~~~</code> and <code>[](http://)</code>
  I know, it's just some random symbols. But it is for a eregi.
  I want to position the cursor between the chracters inserted, on <code>**here**</code>, <code>_here_</code> and <code>~~HERE~~</code>, the last one I need to position between the first [], it is <code>[HERE](http://)</code>.</p>
  
  <p>It shouldn't be that hard, but I just don't know how to do this. Any help?</p>