$('input').on('input propertychange', ()=>{});
$("#someDiv").bind("DOMSubtreeModified", function() { alert("tree changed"); });
// On element change. $('mydiv').bind('DOMSubtreeModified', function () { console.log('changed'); });