jquery specifying contains for a class code example Example: jquery find by innertext $( "div:contains('innerText')" );