Пожалуйста, попробуйте это:
<script>
var s = document.getElementById("show");
//let say given time array is:
//time will be 1:00,2:30,3:50 so on.....
//we need to convert time in millisecond....
var gtime = new Array("915000", "750000", "605000");
//just want to put in For loop
for(var i=0, i < 3, i++){
//put time array here
setTimeout(function(){
s.innerHTML = s.innerHTML + gtime[i];
}, gtime[i]);
}
</script>