SyntaxFix
Write A Post
Hire A Developer
Questions
You need to pass a function to setTimeout
setTimeout
$(window).load(function () { window.setTimeout(function () { window.location.href = "https://www.google.co.in"; }, 5000) });