Line 61: | Line 61: | ||
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", ""); | ||
− | classname = document. | + | classname = document.getElementByClassName(tablinksA[i]); |
alert(classname); | alert(classname); | ||
} | } |
Revision as of 13:10, 30 October 2017