Looking for a way to target elements with a specific class, but only if they don't have another class attached to them. Here is an example:
<li class="target-class exclude-class"></li>
<li class="target-class exclude-class"></li>
<li class="target-class"></li>
<li class="target-class"></li>
<li class="target-class"></li>
I attempted to use the following code snippet to achieve this:
var elements = $find('.target-class exclude-class:not');
However, it returned all elements instead of just the ones I was looking for.