jquery selector element contains text code example Example: jquery contains text $( "div:contains( 'hello' )" )