What you are looking for are the DOMNodeInserted and DOMNodeRemoved events.
For example, after binding to the list event of the DOMNodeInserted list:
$('ol').bind('DOMNodeInserted', function() { alert('node inserted'); });
and then another list item is added:
$('ol').append('<li>x</li>');
the event is fired.
source share