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