Team:IIT Madras/Notebook/digestion

From 2011.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 79: Line 79:
var i=0;
var i=0;
while(i<6){
while(i<6){
-
document.getElementById("chem_table").innerHTML=document.getElementById("chem_table").innerHTML+chem_name[i]+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+chem_value[i]+"<br/>";
+
document.getElementById("content_text").innerHTML=document.getElementById("content_text").innerHTML+chem_name[i]+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+chem_value[i]+"<br/>";
console.log(document.getElementById("content_text").innerHTML);
console.log(document.getElementById("content_text").innerHTML);
i++;
i++;
}
}
-
document.getElementById("vector_image").innerHTML="<img src="+vector_image_url+"/>";
+
document.getElementById("vector_image").innerHTML="<img src=\'"+vector_image_url+"\' />";
-
document.getElementById("comments").innerText=comments;
+
document.getElementById("comments").innerHTML="<p>"+comments+"</p>";
});
});

Latest revision as of 01:47, 29 September 2011

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