Template:UCSF/Header

From 2010.igem.org

(Difference between revisions)
Line 83: Line 83:
var tmp = document.createElement('a');
var tmp = document.createElement('a');
                 var temp = toBeTOCced[i];
                 var temp = toBeTOCced[i];
-
                 var s = temp.getElementByClassName('mw-headline');
+
                 var s = temp.getElementsByClassName('mw-headline');
                 alert(s);
                 alert(s);
                 temp= temp.lastChild;
                 temp= temp.lastChild;

Revision as of 08:01, 10 October 2010