hey im using this to redirect the user to a page within a conditional statment. <script>location.href='index.php'</script> "; but i wld like to add a timestamp so that it redirects after 5 seconds, can anyone help ?
function Redirect(){ document.location.href='index.html'; } <a href="javascript:setTimeout('Redirect()', 5000);"> click </a>