is there a way to capture creatio开发者_StackOverflown and removal of element on web page. for example: listening to the body tag, I can capture what element is created and removed under it and having a callback to handle something else when these events happen. thanks for any advice.
Some browsers (read: not IE) support this through the DOMNodeInserted and DOMNodeRemoved events.
I think the jquery livequery plugin can do what you want.
精彩评论