A repository of over 1000 quality jQuery plugins

jQuery :contains() Selector

Learn all about the jQuery function :contains() Selector.

The matching text can appear directly within the selected element, in any of that element’s descendants, or a combination thereof. As with attribute value selectors, text inside the parentheses of :contains() can be written as a bare word or surrounded by quotation marks. The text must have matching case to be selected.