Team:IIT Madras/Notebook/digestion
From 2011.igem.org
(Difference between revisions)
Line 73: | Line 73: | ||
chem_value[5]=60; | chem_value[5]=60; | ||
- | document.getElementById(" | + | document.getElementById("content_text").innerHTML="<table>"; |
var i=0; | var i=0; | ||
while(i<chem_name.length){ | while(i<chem_name.length){ | ||
- | document.getElementById(" | + | document.getElementById("content_text").innerHTML+="<tr><td>"+chem_name[i]+"</td><td>"+chem_value[i]+"</td></tr>"; |
i++; | i++; | ||
} | } | ||
- | document.getElementById(" | + | document.getElementById("content_text").innerHTML+="</table>"; |
</script> | </script> | ||
</head> | </head> | ||
Line 93: | Line 93: | ||
<div id="content_body"> | <div id="content_body"> | ||
<div id="content_text"> | <div id="content_text"> | ||
- | |||
- | + | ||
+ | |||
</div> | </div> |
Revision as of 23:39, 28 September 2011