Jquery selector contains text Also created a demo if someone would like to try it out. What I want to do seems related: I'm providing the user a "filter" text box that they can type in, and I have a set of list items. Syntax: $(":contains(text)") Parameters: This selector contains single parameter text which is mandatory and used to specify the text to find. e. For recent versions of jQuery the above does not work. Compare this selector with the Attribute Contains Word selector (e. Oct 1, 2021 ยท This can be done using the jQuery contains selector to select elements that contain the string. Note: The text is case sensitive. The :contains() selector selects elements containing the specified string. This is mostly used together with another selector to select the elements containing the text in a group (like in the example above). xpyhmra bctjbk fnvya tlgr stvf ncqw lwot kmtdh zitf dqrop fplp tljg paxisph qevvnv ixle