Posted by: Cowboys June 11, 2008
Need help in Java Script and JSP
Login in to Rate this Post:     0       ?        
when you are creating the dynamic table, pass the image along with the other values. The tag is <img src="image source"/>
If you have to add an image after the table is created, I am not sure about putting ids on the <td>, but, you ca create the column for image like <td><span id="imageHolder"></span></td> and then populate the inner html for the span with the image. Try using the same thing without the span and putting the id for the <td id="some Id"> and see if you can populate it with the image at a later time.

Hope this helps. If not,
send me an email with your code. Will see from there.
Read Full Discussion Thread for this article