javascript append Div InnerElements to Image
<p>i have following code to append Div inner Html to Image, but it seems not working, please guide me with the right code,</p>

<pre><code>var d = document.getElementById("PTZ").getElementsByTagName('div')[0].innerHTML
</code></pre>

<p>(this works fine, brings all the innerHtml for the div),</p>

<pre><code>Img.parentNode.children[1].appendChild(d);
</code></pre>

<p>(this dosent append the div to image)</p>

<p>actually d has image buttons (buttons are wrapped under div), i want to display all the buttons on the image</p>

<p>Thanks</p>
