title: Focus on a textarea to the last + 1 character cursor, javascript
body: <p>I have this portion of code in my <code>javascript</code> file</p>
  
  <pre><code>function insertRespuesta(id, attach)
  {
      document.getElementById(attach).value += " #" + id + " ";
      document.getElementById(attach).focus();
  }
  </code></pre>
  
  <p>My <code>html</code> file:</p>
  
  <pre><code>&lt;textarea name="textoConversacion" id="textoConversacion" class="mensaje-mensajeria"&gt;&lt;/textarea&gt;
  &lt;a href='#' class='decoracion-link' onClick="insertRespuesta('&lt;?php echo $cada['contador']; ?&gt;','textoConversacion');"&gt;#&lt;?php echo $cada['contador']; ?&gt;&lt;/a&gt;
  </code></pre>
  
  <p>So if I click the <code>link</code> it will be focused on the textarea but the textarea cursor will be in the last position I had, and I need to put in the last cursor character + 1.</p>
  
  <p>I preffer <code>not using jquery</code>.</p>