In this tutorial, We will learn how to redirect to another page in jquery after a particular time
<!DOCTYPE html>
<html>
<head>
<title>Jquery Redirect to Another Page After 10 Seconds Example</title>
<script src="http://code.jquery.com/jquery-1.9.1.js" type="text/javascript"></script>
</head>
<body>
<button>Click to redirect</button>
<script type="text/javascript">
$("button").click(function(){
$(this).text('Redirecting soon....');
var delay = 10000;
var url = 'https://rathorji.in'
setTimeout(function(){ window.location = url; }, delay);
})
</script>
</body>
</html>
Thanks, May this example help you.....