Forum Moderators: open
the ID of the div i want to remove is "1080"
This is my code:
function removeElement(parent,div){
var d1=document.getElementById(parent);
var d2=document.getElementById(div);
d1.removeChild(d2);
}
removeElement("content","1080");
The problem is... i dont know the value of "parent"
Thanks.