Blog / GEM Window setInterval() Method December 29, 2019 setInterval(function(){ alert("GEMCODE"); }, 5000); Try it Alert “GEMCODE” every 5 seconds (5000 milliseconds): Views: 596 Spread the Code