remove an element in javascript
by Sanju[ Edit ] 2010-02-01 18:58:54
Remove an element in javascript
To remove an element, use the removeChild() method of its parent element,
var rm = document.getElementById('test');
rm.parentNode.removeChild(rm);
It works fine...