jQuery | jquery filter by text value
❮jQuerySelectors[1]DefinitionandUsageThe:contains()selectorselectselementscontainingthespecifiedstring.Thestringcanbecontaineddirectlyintheelementastext,orinachildelement.Thisismostlyusedtogetherwithanotherselectortoselecttheelementscontainingthetextinagroup(likeintheexampleabove).Note:Thetextiscasesensitive.SyntaxParameterDescriptiontextRequired.Specifiesthetexttofind❮jQuerySelectors[2]ReferencesjQuerySelectors(www.w3schools.com)jQuerySelectors(www.w3schools.com)
❮ jQuery Selectors[1]
Definition and UsageThe :contains() selector selects elements containing the specified string.
The string can be contained directly in the element as text, or in a child element.
This is mostly used together with another selector to select the elements containing the text in a group (like in the example above).
Note: The text is case sensitive.
Syntax Parameter Description text Required. Specifies the text to find❮ jQuery Selectors[2]
References jQuery Selectors (www.w3schools.com) jQuery Selectors (www.w3schools.com)