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 id='test' align='right'>";
 
var i=0;
var i=0;
while(i<6){
while(i<6){
-
document.getElementById("test").innerHTML=document.getElementById("test").innerHTML+"<tr><td>"+chem_name[i]+"</td><td>"+chem_value[i]+"</td></tr>";
+
document.getElementById("test").innerHTML=document.getElementById("test").innerHTML+chem_name[i]+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+chem_value;
console.log(document.getElementById("test").innerHTML);
console.log(document.getElementById("test").innerHTML);
i++;
i++;

Revision as of 00:30, 29 September 2011

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