Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
function showTabOfIndex(index) { | function showTabOfIndex(index) { | ||
var contents = document.getElementById("kyoto-tab-contents").getElementsByTagName("div"); | var contents = document.getElementById("kyoto-tab-contents").getElementsByTagName("div"); | ||
- | alert(contents); | + | alert(contents.length); |
/* | /* | ||
var tabs = document.getElementById("kyoto-tabs").childNodes; | var tabs = document.getElementById("kyoto-tabs").childNodes; |
Revision as of 04:16, 26 September 2012