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];
-
                 while(temp.lastChild!=undefined){temp=temp.lastChild;}
+
                 while(temp.lastChild!=undefined){temp=temp.lastChild;alert(temp);}
                 var result = temp.innerHTML;
                 var result = temp.innerHTML;
tmp.innerHTML = result;
tmp.innerHTML = result;

Revision as of 07:23, 10 October 2010