jquery check if inner html equals string code example Example: jquery find by innertext $( "div:contains('innerText')" );