"partial" multiple selectors
In order to refer to the two inner divs here,
<div id="parent">
<div class="class1"></div>
<div class="class2"></div>
</div>
I need to use the following multiple selector syntax:
$("#parent .class1, #parent .class2")
I was wondering if there is a shorter idiom for operations like
the above that doesn't require specifying the entire selector,
something along the lines of:
$("#parent .class1, .class2")
which, if I understand correctly, doesn't mean the same as
the former selector.