Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 44: Line 44:
var h=document.createElement("h1");
var h=document.createElement("h1");
h.innerHTML=days[i];
h.innerHTML=days[i];
-
div.setAttribute("name",days[i]);
+
div.setAttribute("id",days[i]);
document.getElementById("html").appendChild(h);
document.getElementById("html").appendChild(h);
document.getElementById("html").appendChild(div);
document.getElementById("html").appendChild(div);

Revision as of 20:22, 25 October 2008

Gallery Bricks Notebook Team Project Home