0
I have the following structure. I would like to remove the div.son
longer maintain the div.grandson
, Is that possible?! or changing yours <tag>
would also be a solution.. e.g. change <fieldset>
for a <div>
, remembering that I do not have access to HTML, every change should be made through javascript!
<div class="father">
<fieldset class="son">
<div class="grandson">//--> Content here</div>
<div class="grandson">//--> Content here</div>
<div class="grandson">//--> Content here</div>
</fieldset>
</div>
I tried to use the function removeChild()
of javascript, but it removes the whole element..
From now on, thank you!