开发者

lost events delegation after remove(), apendTo() and apend()

开发者 https://www.devze.com 2023-03-25 13:25 出处:网络
Do you know any issue about开发者_C百科 remove, appendTo and append methods, because I lost event delegation when I remove and append another place.Using .detach() will keep events on the object.

Do you know any issue about开发者_C百科 remove, appendTo and append methods, because I lost event delegation when I remove and append another place.


Using .detach() will keep events on the object.

Here is what I tested and worked: http://jsfiddle.net/9eZtM/4/


No I really don't.

you could try .detach() instead of .remove()

0

精彩评论

暂无评论...
验证码 换一张
取 消