Selector question

Selector question

I'm some what new to jQuery and I have a question about the Selector.

Lets say I have a classes named "navButtonRedMode", "navButtonBlueMode" and "navButtonRedType", "navButtonBlueType".

I want to select all elements with a class that has navButton and Mode in the name.

I guess my question would be how do I have a selector that has an AND in it. I am aware of $('[class*=navButton]') but this would return both blue and Red nav buttons.

This is something I have tried but it didn't work. $('[class*=navButton]:has([class*=Mode])')