Appended span tags don't have assigned text
<p>I'm trying to iterate over a collection of checked checkboxes and append the text of each checked box to a div as a span. I've tried this with option tags to a select and it works fine, but when doing it with span tags, the text doesn't seem to be showing.</p>

<pre><code>$.each(elms, function(index, value) {
    var textVal;
    textVal = $.trim($(value).parent().text());
    return $('#narrowSic').append($('&lt;span class=label&gt;', {
        text: textVal
    }));
});​
</code></pre>

<p>This is the HTML that it's being used with:</p>

<pre><code>  &lt;div id="filteredSicDiv"&gt;
        &lt;a href="javascript: void(0)"&gt;Clear&lt;/a&gt;
        &lt;div id="narrowSic" class="labelParent"&gt;
                  Sic:&lt;/div&gt;
  &lt;/div&gt;
</code></pre>
