Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 551: | Line 551: | ||
var node = document.getElementById(str); | var node = document.getElementById(str); | ||
alert(tmpStr); | alert(tmpStr); | ||
- | if(document.getElementById( | + | if(document.getElementById(tmpStr).style.display != "none"){ |
alert("test"); | alert("test"); | ||
- | }else if(document.getElementById( | + | }else if(document.getElementById(tmpStr).style.display == "none"){ |
alert("test2"); | alert("test2"); | ||
}else{ | }else{ |