if  contains text .addClass
133032
code works in JSFiddle but not browser
108926
jQuery hasClass() - check for more than one class
105974
Adding script conditionally
111021
Add class based on published state
40389
Check if an element contains a specific child element
1933
How can I change an element's class with JavaScript?
94338
How to select even or odd elements based on class name
131554
jQuery determining if element exists on page
140882
Proper way to detect empty/blank text
154489
Add class to target based on radio input value (toggle, like function)
14859
Styling multi-line conditions in 'if' statements?
101425
How to Get Element By Class in JavaScript?
158749
List.Contains is not working as hoped
105864
How to check if element has any children in Javascript?
153275
How can I change the class of an element with jQuery>
101850
How to add class to a jQuery element if a condition is true and remove the same class if the condition is false?
147189
highlight the word in the string, if it contains the keyword