Showing posts with label javascript - setTimeout(). Show all posts
Showing posts with label javascript - setTimeout(). Show all posts

Friday, November 5, 2021

JAVASCRIPT - How to make an action 5 seconds after page loading

This code in HEAD section:
<script>
setTimeout( LoadingProc, 5000 );
    
function LoadingProc() {
  alert( "5 seconds gone -> loading procedure." );
}
</script>