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.getElementById('mw-headline');
+
                 var s = temp.getElementByClassName('mw-headline');
                 alert(s);
                 alert(s);
                 temp= temp.lastChild;
                 temp= temp.lastChild;

Revision as of 08:00, 10 October 2010