The code below will teach u how to remove child nodes using javascript
<script language=”javascript” type=”text/javascript”>function remove(parent,child){var p = document.getElementById(parent);var c = document.getElementById(child);
p.removeChild(c);
}
</script>
<input name=”balu1″ name=”ada1″ value=”To Remove” onclick=”remove(‘torque’,'show’)” type=”button” />
<div id=”torque”>
<div id=”show”><img src=”urimage.jpg” /></div>
</div>
</html>
Any doubts plz contact me

Incoming search terms:
You will also be interested in ,
- DOM elements dynamically using our JAVASCRIPT
- Adding and removing child nodes using javascript and DOM
- How to close a child window from a parent window using javascript
- Javascript webpage load timer, display time taken to load a webpage
- Detect browser and redirect using javascript
- Fade in Fade out effect using simple jquery
- Simple Javascript Clock
- Give a welcome alert message to your visitors using javascript
- Get browser version and details using javascript
- Check whether the browser is Internet Explorer or not using javascript
