populate collection with each()
<p>I am trying to populate a collection using an each. I can get the element in one string, and I can get an alert to fire on each iteration. I just cant put the two together.</p>

<p>Here is my list:</p>

<p>4/27/2011 5:42:54 PM<br>
4/27/2011 5:43:00 PM<br>
4/27/2011 5:46:53 PM<br>
4/28/2011 2:10:40 PM    </p>

<p>Here is my code. </p>

<pre><code>if (chosenTime &gt; 0) {
    var myDateClass = $('.exceptionDate')
    var i = 0
    $(myDateClass).each(function () {
       var myDateClassVal = myDateClass[i].GetAttributeNode(outerText);
       //this currently gives an error              
       //if I switch this to myDateClass.text();
       // it returns the list in one string
       i++
       });
</code></pre>
