Here is my selector:
When the user clicks a button, this part of it generates a number:
This part of it finds the corresponding H2 element:
All I would like to do is also limit the selector so that elements with class="xyz" are ignored. So for example, get the 3rd instance of an H2 element that doesn't have class="xyz".
I tried adding :not() statements to my selector, but that doesn't seem to combine well with :eq() in the same selector, unless I'm not doing something right.
I would appreciate any advice with this.