Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

DOMSubtreeModified

Nuestros voluntarios aún no han traducido este artículo al Español. Únete a nosotros y ayúdanos a traducirlo

Draft
This page is not complete.

Example

Following code will display the time of last DOM Change on the title bar of the page.

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);

Etiquetas y colaboradores del documento

 Colaboradores en esta página: lieuwex, teoli, Sheppy
 Última actualización por: lieuwex,