Answers for "delay page load javascript"

2

wait for page load js

window.addEventListener('load', function () {
  
})

//THE OTHER ANSWER IS WRONG (has a syntax error)
Posted by: Guest on November-07-2020
0

javascript href on load delay

function ouvrirfenetre()
{
    function delay () {
        setTimeout( function() { window.location = URL }, 500 );
    }
}
Posted by: Guest on October-26-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language