Possible Duplicate:
Detect element content changes with jQuery
I have a div with a few text fields and radio buttons and text areas and i want to check if any of the content changed for example...i have
<div class="tools">
//if any of the content changes in here can i find out
</div>
i have
$('.tools').change(function(){
console.log("something changed");
});
and its not logging....so i need to loop or check content...any ideas