I am pretty new to Javascript, and I was trying somethings out. I am using a function to load an image inside a table using innerHTML. But the image does not show up, unless
You have an error in your string:
document.getElementById('imageHolder1').innerHTML="";
Should read
(notice " to ' replacement)