Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

run js function after some sec

function myClick() {
  setTimeout(
    function() {
      document.getElementById('div1').style.display='none';
      document.getElementById('div2').style.display='none';
    }, 5000);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #js #function #sec
ADD COMMENT
Topic
Name
7+8 =