Top "Mutation-observers" questions

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

Detect changes in the DOM

I want to execute a function when some div or input are added to the html. Is this possible? For …

javascript dom mutation-events mutation-observers
How can I be notified when an element is added to the page?

I want a function of my choosing to run when a DOM element is added to the page. This is …

javascript dom event-handling mutation-observers change-notification
Most efficient method of detecting/monitoring DOM changes?

I need an efficient mechanism for detecting changes to the DOM. Preferably cross-browser, but if there's any efficient means which …

javascript dom mutation-events mutation-observers
Can jQuery selectors be used with DOM mutation observers?

HTML5 includes a concept of "mutation observers" to monitor changes to the browser's DOM. Your observer callback will be passed …

jquery html jquery-selectors greasemonkey mutation-observers
'observe' on 'MutationObserver': parameter 1 is not of type 'Node'

I am creating a Chrome extension and trying to include a small text beside the SEND button of the gMail …

javascript google-chrome-extension gmail gmail-api mutation-observers
Performance of MutationObserver to detect nodes in entire DOM

I'm interested in using MutationObserver to detect if a certain HTML element is added anywhere in an HTML page. For …

javascript html mutation-observers
Mutation Observer for creating new elements

I am trying to make a function go off when a particular div is created. In the simplest of terms, …

javascript jquery mutation-observers dom4
Can a single MutationObserver object observe multiple targets?

I would like to use a MutationObserver object to observe changes to some of my DOM nodes. The docs give …

javascript html dom mutation-observers
MutationObserver not working

Consider the following code: which is a slight modification of this. Interacting with the jsbin version page does not produce …

javascript mutation-observers
detect value change in input tag with vanilla javascript and MutationObserver

I want to detect when text/value change in input field. Even if I change the value with js, I …

javascript html mutation-observers