开发者

Does jQuery automatically remove attached even handlers from objects when I remove them?

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 at开发者_Python百科tached as well), if I just remove that DOM object with jQuery('.selector').remove()?


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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜