Select all elements that contain the specified text. in jquery code example Example: jquery contains text $( "div:contains( 'hello' )" )