jquery: how do you loop through each newline of text typed inside a textarea?
<p>lets say inside a <code>&lt;textarea&gt;</code>, i type in a bunch of keywords on each new line.</p>

<pre><code>keyword1
keyword2
keyword3
...




$('textarea[name=sometextarea]').val().split('\n').each(function(e){
alert($(this));     
});
</code></pre>
