[jQuery] 1.3.2 td class selector only picks the first td

[jQuery] 1.3.2 td class selector only picks the first td


The following code worked fine in 1.2.6 but after upgrading to 1.3.2
only the first table cell is shown/hidden.
<table>
<tr>
<td class="more">a</td>
<td class="more">b</td>
<td class="more">c</td>
<td class="more">d</td>
</tr>
</table>
<span id="moreLess">more</span>
...
jQuery('#moreLess').click(function() {
if(jQuery(this).text() == 'more') {
jQuery(this).text('less');
jQuery('.more').show();
} else {
jQuery(this).text('more');
jQuery('.more').hide();
}
});
Version 1.2.6 used to add style="display: none;" when hiding, and
would remove it when showing. Version 1.3.2 adds toggles between
style="display: none;" and style="display: table-cell;". I don't
think that matters really, what does matter however is that if I alert
jQuery('.more').length I get 1 not 4. Am I doing something wrong?
Thanks.