views:

48

answers:

1

Well my interest is whether jQuery does remove attached event handlers from the DOM object and all it's descendants (if they got some event handlers attached as well), if I just remove that DOM object with jQuery('.selector').remove()?

+1  A: 

jQuery docs: "Note that this function starting with 1.2.2 will also remove all event handlers and internally cached data."

Zed