Top "Mutation-observers" questions

Mutation Observers are part of the DOM4 specification, and allow callbacks to be triggered when elements of the DOM change.

MutationObserver and current/computed CSS styles

I'm using a MutationObserver to look for added images to a web page. As many images are displayed via the …

javascript html css mutation-observers
Availability of MutationObservers in Internet Explorer

AFAIK mutation observers are not available yet in IE. Chrome, Safari, Firefox have their implementations and its working its way …

javascript internet-explorer dom-manipulation mutation-observers
Detecting class change without setInterval

I have a div that has additional classes added to it programmatically. How can I detect the class name change …

javascript html setinterval mutation-observers
MutationObserver for class (not for id)

It's not the problem to make MutationObserver work for #someID, but what's the way to make it work for .someClass? …

javascript mutation-observers
Simple mutation observer example in JavaScript doesn't work

I try to add a MutationObserver in my web page to track changes in an image src, but that doesn't …

javascript mutation-observers
Mutation Observer is undefined

I am attempting to fix and issue with my code. I was originally using DOMNodeRemoved and DOMNodeInserted for keeping an …

javascript jquery internet-explorer-11 netsuite mutation-observers
Mutation Observer Not Detecting Text Change

I'm scratching my head as to why MutationObserver doesn't detect text changes done using textContent. HTML <div id="mainContainer"&…

javascript jquery html mutation-observers
$(document).on() in plain JavaScript?

In jQuery there is .on() which can be used as: $(document).on('click', '.foo', function() { /* ... */ }); This listens for click …

javascript jquery dom addeventlistener mutation-observers
Reconnect and disconnect a MutationObserver

This question is the sequel of this one. However, it is not necessary to read the previous, I'm just giving …

javascript mutation-observers
Confused About MutationObserver

So I have been rattling my brain about using the MutationObserver and I haven't made any progress. I've read about …

javascript syntax mutation-observers