change url with javascript after 5 seconds

Solutions on MaxInterview for change url with javascript after 5 seconds by the best coders in the world

showing results for - "change url with javascript after 5 seconds"
Noemi
05 Jul 2016
1window.setTimeout(function(){
2    window.location.href = "https://www.google.co.in";
3}, 5000);