Am I missing something? My values don't get stored into my array
<p>I have this</p>

<pre><code> var selected = []
        $('#SelectBoxContainer .DDLs :selected').each(function (i, selected)
        {
            alert($(selected).val());
            selected[i] = $(selected).val();
        });
</code></pre>

<p>My alert is telling me that it is going through this loop and getting the select box values. Yet once everything is said and done there is nothing in my "selected" array.</p>
