I want to load another HTML page after a specific amount of time [duplicate]

<script>
    setTimeout(function(){
        window.location.href="https://stackoverflow.com/questions/15719729/form2.html";
    }, 5000);
</script>

And for home page add only “https://stackoverflow.com/”

<script>
    setTimeout(function(){
        window.location.href="https://stackoverflow.com/";
    }, 5000);
</script>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)