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.getElementByClass(tablinksA[i]); | ||
+ | alert(classname); | ||
} | } | ||
Revision as of 13:09, 30 October 2017