Ticket #4161 (closed bug: duplicate)
Event handlers not preserved when appending to multiple elements
|Reported by:||dalangalma||Owned by:||john|
In jQuery 1.3.1, if you create a new element, attach an event handler to it, and then append it to multiple elements, all but the first copy of the element lose their event handlers. This worked in 1.2.6.
There's a demo at http://brh.numbera.com/experiments/browserdemos/jquery-1.3.1-append-handlers.html - I've attached a copy to this ticket.