jQuery, Looping through paragraphs and getting text
<p>So basically with jQuery, I am trying to loop through 3 paragraphs containing tweets. The 3 paragraphs are all of class .tweet-text</p>

<p>For some reason, in the following code, $test2 will be set properly to the first tweet's text, but in the each loop, the js crashes whenver i try to set str. Why is this?</p>

<pre><code>    var $tweets = $(".sidebar-tweet .tweet-text");
    var $test2 = $tweets.text();
    alert($test2);
    $tweets.each(function(i, $tweet){
        var str = $tweet.text();
        alert(str);
    });
</code></pre>

<p>I've been trying to debug this with Firebug but to no avail. Thanks for the help.</p>
