Menu
I’m just starting with JavaScript so maybe my problem will seems silly but for me it’s really serious ?
I want define images in array and than to they were automatically shown in table column. [B]I want make exactly the same as this but with images instead of text
[I]<table border=”1″>
<script type=”text/javascript”>
var sometext = new Array()
sometext[0] = “text1”
sometext[1] = “text2”
sometext[2] = “text3”
for (i=0;i<sometext.length;i++)
{
document.write(“<tr>”);
document.write(“<td>” + sometext[i] + “</td>”);
document.write(“</tr>”)
}
</script>
</table>
How to make it? Please help ?