I've recently upgraded an application from jQuery 1.2 to 1.3.2 - and we've found a rather strange regression.
For some html approximately like this (simplified a bit)
<div id="steps">
<div class="step">
<span>step #1</span>
<div class="removeStep"> X </div>
</div>
<div class="step">
<span>step #2</span>
<div class="removeStep"> X </div>
</div>
</div>
We previously attached an event like so, for all the steps:
$("#steps").find(".removeStep").click(removeStepFunc)
Under 1.2 this would find all the steps, even ones we dynamically added. Under 1.3 this only ever finds the first step.
This also doesn't work:
#("#steps .removeStep").click(removeStepFunc)
However, this does:
#("#steps).children().find(".removeStep").click(removeStepFunc)
I can obviously work around the issue, but It does make me a little nervous that perhaps there are other similar regressions affecting the application now we have upgraded, that will only present themselves in some cases when we have more then one element to match.
Also I see this other question, which I suspect might be the same issue?