jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery :contains() Selector

jQuery :contains() Selector



The :contains() selector is used to select elements containing the specified string. The string may be present directly in the element as text, or in a child element. The text in it is case-sensitive.




Its syntax is:- $(":contains(text)");


Further Explanation:-


Parameter Description
text Required. Specifies the text to find

Code Explanation

All Tutorials related to jQuery Selectors

All Sections related to jQuery