I use MooTools, and I need to find the element which has both classes "a" and "b" (the innermost div in my example below).
The HTML structure is:
<div class="a">
<div class="otherclass">
<div class="b"></div>
</div>
</div>
In jQuery it's $("div .a .b"), as far as I know. What's the mootools syntax? I've tried
$$("div .a .b")
but it doesn't return any results.
Thanks!
-- To clear things, I want to get ONLY the divs which have both classes (in this case, only one.) thanks.