Answer the question
In order to leave comments, you need to log in
Why is the tag not being removed from the html?
The code has
<div class="description-program"> <div style="float:left; margin: 26px 12px 25px 0;"> <div style="width:336px; height:280px;" > ....
var description=document.getElementsByClassName("description-program");
alert(description);
description.remove();
var element=document.getElementsByClassName("form-item form-type-item");
var count=element.length;
for(var i=0;i<=count;i++){
element[0].remove();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question