I am trying to hide some content. The html structur looks like this:
Code: Select all
<div class="mainclass">
<div class="subclass" style="....">
<div>
<div class="1" style="....">
<a class=offset" name="....."></a>
<div class="ad" style="....">catch this</div>
</div>
.
.
.
</div>
</div>
</div>
Well, is it possible to hide the "mainclass" - when the class "ad" contains a certain text (e.g. "catch this")? If this is possible, do you have any tips for me?
best regards,
josef