Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

repate element every 2 seconds

const element = document.getElementById("demo");
setInterval(function() {element.innerHTML += "Hello"}, 2000);
 
PREVIOUS NEXT
Tagged: #repate #element #seconds
ADD COMMENT
Topic
Name
5+5 =