jquery detecting when we are at the end of text in textarea
<p>I am just trying to learn jquery, and I was wondering how can you figure out when, given a bunch of text in a textarea, is the user at the end of textarea and tries to click down. For example, the last line of the text is asdf, and when the user is at that line, and presses down on the arrow key, i would like to get an event of some sort, or at least be able to figure out whether we are at the last line, and do an action (for example, wrap around and go to the first line)</p>

<p>If anyone has some idea of how to do this, it would be greatly appreciated!</p>

<p>Jason</p>
