id summary reporter owner description type status priority milestone component version resolution keywords cc blockedby blocking 3906 Live() generates duplicate click events if it's contained within an each() callback and the selector is scoped to a context jsdalton brandon "My apologies if this is a duplicate or invalid ticket, of if I'm just doing something wrong, but I believe this is a bug related to the new live() method. I have discovered that, within the scope of an each() callback, if a click event is bound to a selector that contains a contex pointing to the this DOM element from the each loop, the event starts firing duplicate times, as though more than one object were clicked. This is a bit hard to explain, it's best seen by example. The following code works as one would expect it would, using the regular click() event handler: {{{ Live

here's a click

there's a click

}}} Now, observe, the only change I am making is changing .click(function() {...}) to .live(""click"", function() {...}): {{{ Live

here's a click

there's a click

}}} Observe that the alert window appears twice, as though the element were clicked twice. I reduced this bug down to it's simplest form I could get it to. If you have more hyperlinks on the page the problem gets even worse. Note that if you remove the each() scope, it functions as normal. I have tested this in both Firefox 3.0.5 for Mac and Safari 3.1.2 for Mac and I get the same result in each. I hope this is helpful. Thanks. (Loving 1.3 btw, thanks for all the hard work you guys put into it.)" bug closed major 1.3.1 event 1.3 wontfix live()