Template:UCSF/Header

From 2010.igem.org

(Difference between revisions)
Line 84: Line 84:
                 var temp = toBeTOCced[i];
                 var temp = toBeTOCced[i];
                 var MW = temp.getElementsByClassName('mw-headline');
                 var MW = temp.getElementsByClassName('mw-headline');
-
                 alert(MW.innerHTML);
+
                 alert(MW[0].innerHTML);
                 var B = MW.getElementsByClassName('b');
                 var B = MW.getElementsByClassName('b');
                 var result;
                 var result;

Revision as of 08:06, 10 October 2010