I am working on a chat and have chat-wrapper. Inside the chat-wrapper new spans are created with the messages. Like so:
<div id="chat-wrapper">
<span>msg 1</span>
<span>msg 2</span>
<span>msg ...</span>
</div>
Is there a way to watch if #chat-wrapper gives birth to new children?
Preferably jquery..