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(" | + | document.getElementById("content_text").innerHTML=document.getElementById("content_text").innerHTML+chem_name[i]+" "+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"). | + | document.getElementById("comments").innerHTML="<p>"+comments+"</p>"; |
}); | }); |
Latest revision as of 01:47, 29 September 2011