$("#divid").bind('DOMNodeInserted', function(e) {
alert('element now contains: ' + $(e.target).html());
});