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"); | var contents = document.getElementById("kyoto-tab-contents"); | ||
- | alert(contents); | + | alert(contents.getElementByTagName("div")); |
/* | /* | ||
var tabs = document.getElementById("kyoto-tabs").childNodes; | var tabs = document.getElementById("kyoto-tabs").childNodes; |
Revision as of 04:13, 26 September 2012