Example
The following code will display the time of last DOM Change on the title bar of the page.
This event has been deprecated in favor of the Mutation Observer API
Be very careful with this event it is easy to cause an infinite loop if you decide to change the DOM inside the event handler.
document.body.addEventListener('DOMSubtreeModified', function () { document.title = 'DOM Changed at ' + new Date(); }, false);
Document Tags and Contributors
Last updated by:
MarkyMarkMcDonald,