jquery/jquery — pull request #789 by MoonScript (2012-05-22 02:58:20+00:00)
Title: Preserve change delegation. Fixes 11796.

Under the following circumstances, a change event will not bubble to an ancestor element.

1) When jQuery.support.changeBubbles is false (IE < 9)
2) When a change event-handler is bound to the element via event delegation.
3) When a descendant element triggers a change event.

You can see the bug here:
http://jsfiddle.net/MoonScript/hcAYz/

Select a value from the 1st dropdown to see that the change event was captured via jQuery (result: 1, 2 or 3). Click the "Add a select" button to copy the select element via .html() and insert it into the DOM. When you select a value from the new dropdown, you'll see that the change event is NOT captured by jQuery (the "result" does not change), because it contained the _change_attached="true" attribute, so jQuery ignored it during its change delegation process.

Fix can be seen here:
http://jsfiddle.net/MoonScript/hcAYz/1/