I have images, each with two classes. Here is the relevant portion of the HTML.
class = "thing other0-a"
class = "thing other1-a"
class = "thing other2-a"
class = "thing other3-a"
class = "thing other0-b"
class = "thing other1-b"
class = "thing other2-b"
How can I use jQuery to select classes with "thing" and if it includes "-a"?
I know how to do [class*=-a] but I don't know how to combine selecting for an exact match AND an includes match.