I want to stop the loop for 1 minute and after one minute I want the loop to execute the next instruction. I tried the following code but it is not working. Please help me, what should I do?
for (j = 0; j < 10; j++) {
setTimeout(function(){alert("Hello")}, 3000);
$("#counter").text(j);
}