Skip to content

Instantly share code, notes, and snippets.

View Ch3ssMaster's full-sized avatar
🔥
On Fire 🚀

Ch3ssMaster Ch3ssMaster

🔥
On Fire 🚀
View GitHub Profile
var myElement = document.getElementById('IDoftheDIV');
if(window.addEventListener) {
// Normal browsers
myElement.addEventListener('DOMSubtreeModified', contentChanged, false);
} else
if(window.attachEvent) {
// IE
myElement.attachEvent('DOMSubtreeModified', contentChanged);
}