DOM mutation events replacement

The reason that mutation events was deprecated was because of huge performance issues. The replacement is Mutation Observers, look at http://updates.html5rocks.com/2012/02/Detect-DOM-changes-with-Mutation-Observers and https://developer.mozilla.org/en/DOM/DOM_Mutation_Observers Information about mutations is delivered to observers as an ordered sequence of MutationRecords, representing an observed sequence of changes that have occurred Sample usage: var observer = new MutationObserver(function(mutationRecords) { // Handle … Read more

Why is the DOMSubtreeModified event deprecated in DOM level 3?

If you scroll down a bit, you see: Warning! The MutationEvent interface was introduced in DOM Level 2 Events, but has not yet been completely and interoperably implemented across user agents. In addition, there have been critiques that the interface, as designed, introduces a performance and implementation challenge. A new specification is under development with … Read more