looping through an array in jQuery
<p>I'm trying to create an array of textarea values and then loop through them.</p>

<p>Here is a jsFiddle that I am trying to get this to work in:</p>

<p><a href="http://jsfiddle.net/kxkHZ/1/" rel="nofollow">http://jsfiddle.net/kxkHZ/1/</a></p>

<p>When I run it, nothing happens. </p>

<p>Any idea what I'm doing wrong?</p>

<pre><code>var textArray = [];
$('[class=objectives]').each(function (i) {
     textArray.push($(this).val());
});

for (var i = 0; i &lt; textArray.length; i++) {
     console.log(textArray[i].value);
}
</code></pre>
