Node removal and event handlers
Just interesting... What happens to node开发者_Python百科's event handlers when I remove it completely from the DOM tree? That means, if I create a node with the same id as removed node later, will it have the same event handlers?
No, there will be no event handlers on the new node, afaik.
Why don't you try It using the Firebug console. Just removing a node and then recreating It with the same ID would answer your question.
精彩评论