Team:IIT Madras/Notebook/digestion

From 2011.igem.org

(Difference between revisions)
Line 75: Line 75:
var i=0;
var i=0;
while(i<chem_name.length){
while(i<chem_name.length){
-
document.getElementById("content_text").innerHTML+="<tr><td>"+chem_name[i]+"</td><td>"+chem_value[i]+"</td></tr>";
+
document.getElementById("content_text").innerHTML=document.getElementById("content_text").innerHTML+"<tr><td>"+chem_name[i]+"</td><td>"+chem_value[i]+"</td></tr>";
i++;
i++;
}
}

Revision as of 00:12, 29 September 2011

bar iGEM 2011 - Home Page Indian Institute of Technology - Madras