How do I do something like "Select all elements, whose child match a certain selector"?
For example. There are some elements <div>, each of these elements has a <a> child, some of these are <a class="typ1">, and some of these are <a class="typ2">. I want to select all <div> elements, that have an <a> child with a typ1 class.
I know that if I want to <a> elements I can do something like a.typ1', but how do I get the` parent?