1$('input[name="noofppl"]').keyup(function(){
2 console.log($(this).val());
3});
1$("#someDiv").bind("DOMSubtreeModified", function() {
2 alert("tree changed");
3});
1// On element change.
2$('mydiv').bind('DOMSubtreeModified', function () {
3 console.log('changed');
4});