Line 59: | Line 59: | ||
tablinksA = document.getElementsByClassName("tablinksA"); | tablinksA = document.getElementsByClassName("tablinksA"); | ||
+ | alert(tablinksA) | ||
for (i = 0; i < tablinksA.length; i++) { | for (i = 0; i < tablinksA.length; i++) { | ||
− | tablinksA[i].className = tablinksA[i].className.replace(" active", ""); | + | tablinksA[i].className = tablinksA[i].className.replace(" active", ""); |
− | + | ||
if(tablinksA[i].className == tabName.className) {$("#" + tabName).show(); } | if(tablinksA[i].className == tabName.className) {$("#" + tabName).show(); } | ||
} | } |
Revision as of 12:54, 30 October 2017