var old = node.innerHTML; setInterval(function () { if (node.innerHTML != old) { /* handler */ } }, 100);