Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.change() in pure js



window.onload = function() {
    [].forEach.call(document.querySelectorAll('.content[href="this.com"]'),function(e){
       e.innerHTML = "Im changed by forEach, its still a loop!"; 
    });
}


Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #pure #js
ADD COMMENT
Topic
Name
3+4 =