Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

call function after 2 seconds javascript


  setTimeout(
    function() {
      document.getElementById('div1').style.display='none';
      document.getElementById('div2').style.display='none';
    }, 5000);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #function #seconds #javascript
ADD COMMENT
Topic
Name
4+5 =