Automatic redirection


/ Published in: jQuery
Save to your folder(s)

Automatic redirection to another page after X seconds


Copy this code and paste it in your HTML
  1. var delay = 1000; //delay in milliseconds
  2.  
  3. setTimeout(function(){ window.location = "URL"; }, delay);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.