jquery if p contains any text code example Example: jquery contains text $( "div:contains( 'hello' )" )