Webkit Mutation Observer callback not triggered when select box attribute's change
问题 I am trying to monitor changes to select box (or nested option elements) with new Mutation Observer functionality. However, only "setAttribute" is triggering mutation observer's callback for me. Here's the code I am using: ~function(doc, $) { var select = $('select'); // http://www.w3.org/TR/dom/#mutation-observers var observer = new WebKitMutationObserver(function(mutations) { alert(mutations.length + " mutations happened"); }); observer.observe(select, { // monitor descendant elements –