How to add different icons in different table cells using javascript?
<p>I am trying to add distinct images but either one image gets loaded in all the cells or none. I am pasting the code for you guys. What's the problem? </p>

<pre><code>&lt;script&gt;
function AddImage()
{
    for(var i=0; i&lt;6; i++)
    {
        document.getElementById("done"+i).innerHTML = "&lt;img   
        src='icons/done.png' height='16' width='16' /&gt;";
    }
}
&lt;/script&gt;
</code></pre>