Remove element from div Javascript

<div id="image_holder_on">
<img id="on_image" src="command.src" style="visibility:hidden;"/>
<script>
var d_on = document.getElementById('image_holder_on');
var on_image = document.getElementById('on_image');
d_on.removeChild(on_image);
</script>
</div>

Posted on 14 Dec 2009, 15:15 - Category: JavaScript
Edit - Delete


No comments posted yet.
Loading