jQuery Attribute Contains Word Selector [name~=”value”]
Learn all about the jQuery function Attribute Contains Word Selector [name~=”value”].
This selector matches the test string against each word in the attribute value, where a "word" is defined as a string delimited by whitespace. The selector matches if the test string is exactly equal to any of the words.