[jQuery] When DOM elements are created and inserted into the document

[jQuery] When DOM elements are created and inserted into the document


Hello,
I want to be able to run a function every time an element is removed
on inserted into the document. How can I do this?
Thanks!
Khai