Posted by: oldmaven June 11, 2008
Need help in Java Script and JSP
Login in to Rate this Post:     0       ?        
.

Doesn't innerhtml allow you html tags within? If so, cant you simply put on <img> tags to retrieve image data?

sth sort of :

var imgHtml =
"<img src='http://www.myweb.com/myimage.jpg'>";
document.....innerHTML = imgHTML;

Btw, i had similar problems when i was developing a Google Desktop Gadget. I had to play tricks as the engine didnt allow embedding html into the gadget UI.
Read Full Discussion Thread for this article