title: How to set cursor at the end in a textarea?
body: <p>Is there a way to set the cursor at the end in a <code>textarea</code> element? I'm using Firefox 3.6 and I don't need it to work in IE or Chrome. It seems all the related answers in here use <code>onfocus()</code> event, which seems to be useless because when user clicks on anywhere within the <code>textarea</code> element Firefox sets cursor position to there. I have a long text to display in a <code>textarea</code> so that it displays the last portion (making it easier to add something at the end).</p>
  <p>No frameworks or libraries.</p>