Is it possible to select the elements of a type that contains element with a determined class?
Example:
<div class="myLabel"">
<label class="PageTitle" tabindex="-1">en la san fan the la patriki</label>
</div>
<div class="myLabel"">
<label tabindex="-1">other san fanes</label>
</div>
I want the first div to be returned but not the second. Something like this:
div.myLabel:haschild([class*="PageTitle"])