Team:IIT Madras/Notebook/digestion
From 2011.igem.org
(Difference between revisions)
Line 72: | Line 72: | ||
chem_value[4]=50; | chem_value[4]=50; | ||
chem_value[5]=60; | chem_value[5]=60; | ||
- | document.getElementById("content_text").innerHTML="<table | + | document.getElementById("content_text").innerHTML="<table id="test">"; |
var i=0; | var i=0; | ||
while(i<6){ | while(i<6){ | ||
- | document.getElementById(" | + | document.getElementById("test").innerHTML=document.getElementById("test").innerHTML+"<tr><td>"+chem_name[i]+"</td><td>"+chem_value[i]+"</td></tr>"; |
- | console.log(document.getElementById(" | + | console.log(document.getElementById("test").innerHTML); |
i++; | i++; | ||
} | } | ||
- | + | ||
}); | }); |
Revision as of 00:26, 29 September 2011