I'm trying to solve the following problem:
On my page, setInterval
does not repeat, tried in many ways, even simplified in the mode below to see if it would work, but it still does not repeat, it is working as a setTimeout
.
function teste(){
$("#teste").append("a");
}
var x = setInterval(teste(),1000);