displaying photo?
<p>I was trying to do this in an alert box only to find out that I can't now. I cannot manage to get this to display at all. Instead of the variable I get <code>[object HTMLImageElement]</code>. I am missing something but what is it?  </p>

<pre><code>function joePic(){
    var joe_fat = new Image;
    joe_fat.src = "pic1.jpg";
    document.getElementById('photo').innerHTML = joe_fat;
}
</code></pre>



<pre><code>&lt;input type="button" value="Click here it find out" name="joePhoto" onclick="joePic()" 
height="150" width="150" /&gt;
</code></pre>
