var counter=setInterval(timer, 1000); //1000 will  run it every 1 second

function timer()

{

count=count-1;

if (count <= 0)

{

clearInterval(counter);

jQuery(“form”).submit(function()

{

location.reload(true);

//alert(“hiii”);

});

//return;

}

//Do code for showing the number of seconds here

}

Your Answer
Sign In
Enter email and password to comment or answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.