Creating DOM 'option' elements with 'selected' attribute
<p>Why does this code would work fine in jQuery 1.5 and not in jQuery 1.6? Was there a known change to how jquery creates DOM nodes between these two versions?</p>

<pre><code>var birth = new Date(),
    current = new Date().getFullYear() - 13,
    year = $('select#year'),
    i = 0;
birth.setFullYear(1992, 10, 3);
while (i &lt; 48) {
    var option = $('&lt;option&gt;', { 
        value: current - i,
        text: current - i,
        selected: (current - i === birth.getFullYear()) ? 'selected' : ''
    });
    year.append(option);
    i++;
}
</code></pre>

<p>See <a href="http://jsfiddle.net/tauren/Z7umc/2/" rel="nofollow">this working jsfiddle using 1.5</a> and <a href="http://jsfiddle.net/tauren/Z7umc/1/" rel="nofollow">this non-working jsfiddle using 1.6</a>. The first only selects one option, but the second adds <code>selected="selected"</code> to every option. </p>

<p>Note I've only tested this in Chrome at this point.</p>
