query check if p containts text jquery 1.8 code example Example: jquery find by innertext $( "div:contains('innerText')" );