I am trying to listen for changes inside container, lets assume .container
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
each item has various angular js attributes, data attributes etc that change quiet a lot, as well as text in them so:
$('.container').bind("DOMSubtreeModified", function() {
console.log("change");
});
prints out a lot of "change" text. I want to decrease this and at the same time I only need to check if first item inside container changed, therefore how can I only check this?