Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js set visibility on timeout

function initialSetup() {
  if (document.getElementById("yellow") != null) {
    document.getElementById('yellow').style.visibility = 'hidden';
    setTimeout("document.getElementById('yellow').style.visibility = 'visible'", 2000);
  }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #set #visibility #timeout
ADD COMMENT
Topic
Name
4+4 =